{"api_version":"1","generated_at":"2026-07-23T03:41:51+00:00","cve":"CVE-2011-1657","urls":{"html":"https://cve.report/CVE-2011-1657","api":"https://cve.report/api/cve/CVE-2011-1657.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2011-1657","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2011-1657"},"summary":{"title":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2011-08-25 14:22:44","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-399","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"5","severity":"","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://svn.php.net/viewvc/?view=revision&revision=310814","name":"http://svn.php.net/viewvc/?view=revision&revision=310814","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"PHP: Revision 310814","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/69320","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/69320","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2011/07/01/8","name":"http://www.openwall.com/lists/oss-security/2011/07/01/8","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - Re: Re: php ZipArchive::addGlob() crashes on invalid\n flags","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://securityreason.com/achievement_securityalert/100","name":"http://securityreason.com/achievement_securityalert/100","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"PHP 5.3.6 ZipArchive invalid use glob(3) ( Research Advisory ) - SecurityReason.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/archive/1/519385/100/0/threaded","name":"http://www.securityfocus.com/archive/1/519385/100/0/threaded","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SecurityFocus","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://support.apple.com/kb/HT5130","name":"http://support.apple.com/kb/HT5130","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"About the security content of OS X Lion v10.7.3 and Security Update 2012-001","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:165","name":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:165","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Security Advisories | Mandriva Linux","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2011/07/01/6","name":"http://www.openwall.com/lists/oss-security/2011/07/01/6","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"oss-security - php ZipArchive::addGlob() crashes on invalid flags","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html","name":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"APPLE-SA-2012-02-01-1 OS X Lion v10.7.3 and Security Update 2012-001","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2011/07/01/7","name":"http://www.openwall.com/lists/oss-security/2011/07/01/7","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - Re: php ZipArchive::addGlob() crashes on invalid flags","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://securityreason.com/securityalert/8342","name":"http://securityreason.com/securityalert/8342","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHP 5.3.6 ZipArchive invalid use glob(3) - SecurityReason.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.php.net/bug.php?id=54681","name":"https://bugs.php.net/bug.php?id=54681","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"PHP :: Sec Bug #54681 :: addGlob() crashes on invalid flags","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/49252","name":"http://www.securityfocus.com/bid/49252","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHP 'ZipArchive::addGlob' and 'ZipArchive::addPattern' Denial Of Service Vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/zip/php_zip.c?view=log","name":"http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/zip/php_zip.c?view=log","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"ViewVC Exception","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2011-1657","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-1657","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2011","cve_id":"1657","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"5.3.6","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T22:37:25.453Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"[oss-security] 20110701 php ZipArchive::addGlob() crashes on invalid flags","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2011/07/01/6"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugs.php.net/bug.php?id=54681"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://support.apple.com/kb/HT5130"},{"name":"MDVSA-2011:165","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:165"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/zip/php_zip.c?view=log"},{"name":"APPLE-SA-2012-02-01-1","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"],"url":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://svn.php.net/viewvc/?view=revision&revision=310814"},{"name":"20110819 PHP 5.3.6 ZipArchive invalid use glob(3)","tags":["third-party-advisory","x_refsource_SREASONRES","x_transferred"],"url":"http://securityreason.com/achievement_securityalert/100"},{"name":"49252","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/49252"},{"name":"[oss-security] 20110701 Re: php ZipArchive::addGlob() crashes on invalid flags","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2011/07/01/7"},{"name":"[oss-security] 20110701 Re: Re: php ZipArchive::addGlob() crashes on invalid flags","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2011/07/01/8"},{"name":"8342","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"],"url":"http://securityreason.com/securityalert/8342"},{"name":"20110819 PHP 5.3.6 ZipArchive invalid use glob(3)","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://www.securityfocus.com/archive/1/519385/100/0/threaded"},{"name":"php-ziparchiveaddglob-dos(69320)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/69320"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2011-07-01T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2018-10-09T18:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"[oss-security] 20110701 php ZipArchive::addGlob() crashes on invalid flags","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2011/07/01/6"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugs.php.net/bug.php?id=54681"},{"tags":["x_refsource_CONFIRM"],"url":"http://support.apple.com/kb/HT5130"},{"name":"MDVSA-2011:165","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:165"},{"tags":["x_refsource_CONFIRM"],"url":"http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/zip/php_zip.c?view=log"},{"name":"APPLE-SA-2012-02-01-1","tags":["vendor-advisory","x_refsource_APPLE"],"url":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html"},{"tags":["x_refsource_CONFIRM"],"url":"http://svn.php.net/viewvc/?view=revision&revision=310814"},{"name":"20110819 PHP 5.3.6 ZipArchive invalid use glob(3)","tags":["third-party-advisory","x_refsource_SREASONRES"],"url":"http://securityreason.com/achievement_securityalert/100"},{"name":"49252","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/49252"},{"name":"[oss-security] 20110701 Re: php ZipArchive::addGlob() crashes on invalid flags","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2011/07/01/7"},{"name":"[oss-security] 20110701 Re: Re: php ZipArchive::addGlob() crashes on invalid flags","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2011/07/01/8"},{"name":"8342","tags":["third-party-advisory","x_refsource_SREASON"],"url":"http://securityreason.com/securityalert/8342"},{"name":"20110819 PHP 5.3.6 ZipArchive invalid use glob(3)","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://www.securityfocus.com/archive/1/519385/100/0/threaded"},{"name":"php-ziparchiveaddglob-dos(69320)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/69320"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2011-1657","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"[oss-security] 20110701 php ZipArchive::addGlob() crashes on invalid flags","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2011/07/01/6"},{"name":"https://bugs.php.net/bug.php?id=54681","refsource":"CONFIRM","url":"https://bugs.php.net/bug.php?id=54681"},{"name":"http://support.apple.com/kb/HT5130","refsource":"CONFIRM","url":"http://support.apple.com/kb/HT5130"},{"name":"MDVSA-2011:165","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:165"},{"name":"http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/zip/php_zip.c?view=log","refsource":"CONFIRM","url":"http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/zip/php_zip.c?view=log"},{"name":"APPLE-SA-2012-02-01-1","refsource":"APPLE","url":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html"},{"name":"http://svn.php.net/viewvc/?view=revision&revision=310814","refsource":"CONFIRM","url":"http://svn.php.net/viewvc/?view=revision&revision=310814"},{"name":"20110819 PHP 5.3.6 ZipArchive invalid use glob(3)","refsource":"SREASONRES","url":"http://securityreason.com/achievement_securityalert/100"},{"name":"49252","refsource":"BID","url":"http://www.securityfocus.com/bid/49252"},{"name":"[oss-security] 20110701 Re: php ZipArchive::addGlob() crashes on invalid flags","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2011/07/01/7"},{"name":"[oss-security] 20110701 Re: Re: php ZipArchive::addGlob() crashes on invalid flags","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2011/07/01/8"},{"name":"8342","refsource":"SREASON","url":"http://securityreason.com/securityalert/8342"},{"name":"20110819 PHP 5.3.6 ZipArchive invalid use glob(3)","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/519385/100/0/threaded"},{"name":"php-ziparchiveaddglob-dos(69320)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/69320"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2011-1657","datePublished":"2011-08-25T14:00:00.000Z","dateReserved":"2011-04-07T00:00:00.000Z","dateUpdated":"2024-08-06T22:37:25.453Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2011-08-25 14:22:44","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-399","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.3.6:*:*:*:*:*:*:*","matchCriteriaId":"9EC938DB-E066-407F-BDF8-61A1C41136F7"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2011","CveId":"1657","Ordinal":"1","Title":"CVE-2011-1657","CVE":"CVE-2011-1657","Year":"2011"},"notes":[{"CveYear":"2011","CveId":"1657","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2011-1657"},{"CveYear":"2011","CveId":"1657","Ordinal":"2","NoteData":"2011-08-25","Type":"Other","Title":"Published"},{"CveYear":"2011","CveId":"1657","Ordinal":"3","NoteData":"2018-10-09","Type":"Other","Title":"Modified"}]}}}