{"id":"CVE-2011-1657","aliases":["DSA-2408-1","EUVD-2011-1657","GHSA-m2xf-6xr9-22pv"],"status":"published","title":"The (1) ZipArchive::addGlob and (2) ZipArchive::addPattern functions in ext/zip/php_zip.c in PHP...","description":"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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0515,"percentile":0.92477,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-399"],"published":"2011-08-25T14:00:00Z","modified":"2026-06-16T23:29:45Z","affected":[{"source":"osv","ecosystem":"Debian:6.0","package":"php5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.3-7+squeeze8"}]}],"versions":["5.3.3-7","5.3.3-7+squeeze1","5.3.3-7+squeeze2","5.3.3-7+squeeze3","5.3.3-7+squeeze5","5.3.3-7+squeeze6","5.3.3-7+squeeze7"],"bundled":16}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2011/07/01/6","tags":["mailing-list","x_refsource_MLIST","x_transferred","Patch"]},{"url":"https://bugs.php.net/bug.php?id=54681","tags":["x_refsource_CONFIRM","x_transferred","Exploit"]},{"url":"http://support.apple.com/kb/HT5130","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:165","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/zip/php_zip.c?view=log","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://svn.php.net/viewvc/?view=revision\u0026revision=310814","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"http://securityreason.com/achievement_securityalert/100","tags":["third-party-advisory","x_refsource_SREASONRES","x_transferred","Exploit"]},{"url":"http://www.securityfocus.com/bid/49252","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2011/07/01/7","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2011/07/01/8","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://securityreason.com/securityalert/8342","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/519385/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/69320","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-1657"},{"url":"https://github.com/advisories/GHSA-m2xf-6xr9-22pv"}],"sources":{"cve":[{"id":"CVE-2011-1657","description":"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.","status":"published","published":"2011-08-25T14:00:00Z","modified":"2024-08-06T22:37:25.453Z","updated_at":"2026-11-02T14:35:38.321377Z"}],"euvd":[{"id":"EUVD-2011-1657","description":"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.","status":"published","published":"2011-08-25T14:00:00Z","modified":"2024-08-06T22:37:25Z","updated_at":"2026-11-03T01:55:55.718493Z"}],"ghsa":[{"id":"GHSA-m2xf-6xr9-22pv","title":"The (1) ZipArchive::addGlob and (2) ZipArchive::addPattern functions in ext/zip/php_zip.c in PHP...","description":"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.","status":"published","published":"2022-05-14T02:55:47Z","modified":"2023-02-02T05:06:53Z","updated_at":"2026-11-02T14:52:23.212244Z"}],"nvd":[{"id":"CVE-2011-1657","description":"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.","status":"published","published":"2011-08-25T14:22:44.727Z","modified":"2026-06-16T23:29:45.703Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-399"],"updated_at":"2026-11-02T14:02:09.988332Z"}],"osv":[{"id":"DSA-2408-1","title":"php5 - several","status":"published","published":"2012-02-13T00:00:00Z","modified":"2026-03-09T01:21:29.481692Z","updated_at":"2026-11-02T15:46:15.489951Z"}]}}
