CVE-2011-1657
publishedphp: ZipArchive:: addGlob() missing glob flags filtering
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | squeeze | php5 | Advisory build | 5.3.3-7+squeeze8 | DSA-2408-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
14- APPLE-SA-2012-02-01-1 http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
- 20110819 PHP 5.3.6 ZipArchive invalid use glob(3) http://securityreason.com/achievement_securityalert/100
- 8342 http://securityreason.com/securityalert/8342
- http://support.apple.com/kb/HT5130
- http://svn.php.net/viewvc/?view=revision&revision=310814
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/zip/php_zip.c?view=log
- MDVSA-2011:165 http://www.mandriva.com/security/advisories?name=MDVSA-2011:165
- [oss-security] 20110701 php ZipArchive::addGlob() crashes on invalid flags http://www.openwall.com/lists/oss-security/2011/07/01/6
- [oss-security] 20110701 Re: php ZipArchive::addGlob() crashes on invalid flags http://www.openwall.com/lists/oss-security/2011/07/01/7
- [oss-security] 20110701 Re: Re: php ZipArchive::addGlob() crashes on invalid flags http://www.openwall.com/lists/oss-security/2011/07/01/8
- 20110819 PHP 5.3.6 ZipArchive invalid use glob(3) http://www.securityfocus.com/archive/1/519385/100/0/threaded
- 49252 http://www.securityfocus.com/bid/49252
- https://bugs.php.net/bug.php?id=54681
- php-ziparchiveaddglob-dos(69320) https://exchange.xforce.ibmcloud.com/vulnerabilities/69320
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e7cbf3c0e9634a72791771a91babcde0a2079cff815a1f0138b840ddd66b6ed9
- Ingested
- 23 Sep 2026, 07:39:01 UTC
- Source record
- Official CVE record