The (1) ZipArchive::addGlob and (2) ZipArchive::addPattern functions in ext/zip/php_zip.c in PHP 5.3.6 allow context-dependent attackers to cause a denial of service (application crash) via certain flags arguments, as demonstrated by (a) GLOB_ALTDIRFUNC and (b) GLOB_APPEND.
https://exchange.xforce.ibmcloud.com/vulnerabilities/69320
http://www.securityfocus.com/bid/49252
http://www.securityfocus.com/archive/1/519385/100/0/threaded
http://www.openwall.com/lists/oss-security/2011/07/01/8
http://www.openwall.com/lists/oss-security/2011/07/01/7
http://www.openwall.com/lists/oss-security/2011/07/01/6
http://www.mandriva.com/security/advisories?name=MDVSA-2011:165
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/zip/php_zip.c?view=log
http://svn.php.net/viewvc/?view=revision&revision=310814
http://support.apple.com/kb/HT5130
http://securityreason.com/securityalert/8342
http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html