CVE-2011-0421 json
The _zip_name_locate function in zip_name_locate.c in the Zip extension in PHP before 5.3.6 does not properly handle a ZIPARCHIVE::FL_UNCHA…
published 2011-03-20 15 y ago modified 2026-06-16 4 mo ago also EUVD-2011-0447
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 13.5%
- EPSS 13.5% chance of exploitation in 30 days, percentile 96%
- public exploits
- 1
- Exploit-DB
Summary
The _zip_name_locate function in zip_name_locate.c in the Zip extension in PHP before 5.3.6 does not properly handle a ZIPARCHIVE::FL_UNCHANGED argument, which might allow context-dependent attackers to cause a denial of service (NULL pointer dereference) via an empty ZIP archive that is processed with a (1) locateName or (2) statName operation.
Patch / fix
- libzip Debian 14, Debian 13, Debian 12 0.10-1
debian advisories DEBIAN-CVE-2011-0421
- libzip openSUSE Tumbleweed 1.1.3-1.4
- php7 openSUSE Tumbleweed 7.0.14-1.4
- php5 openSUSE Tumbleweed 5.6.28-1.1
- php8 openSUSE Tumbleweed 8.0.11-1.1
opensuse advisories openSUSE-SU-2024:10113-1openSUSE-SU-2024:10290-1openSUSE-SU-2024:10344-1openSUSE-SU-2024:11169-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2011-0421 updated cvss 2.6
php/libzip: segfault with FL_UNCHANGED on empty archive in zip_name_locate()
-
Red Hat Enterprise Linux 5 php53 Red Hat Enterprise Linux 6 php, libzip, php-gd, php-cli, php-dba, php-fpm, +21 moreaffected: no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-17004)
- Published
Exploit prediction
13.51% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-17004 PHP 5.3.5 libzip 0.9.3 - _zip_name_locate Null Pointer Dereference dos, 2011-03-18
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=688735 referenced PoC, tagged "exploit" by a source, unverified
- bugs.php.net http://bugs.php.net/bug.php?id=53885 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Technology feeds
References
-
bugzilla.redhat.com
/show_bug.cgi?id=688735
exploit, patch
-
svn.php.net
/viewvc/?view=revision&revision=307867
patch
-
exploit-db.com
/exploits/17004
exploit
-
bugs.php.net
/bug.php?id=53885
exploit
-
mandriva.com
/security/advisories?name=MDVSA-2011:099
vendor-advisory
-
marc.info
/?l=bugtraq&m=133469208622507&w=2
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2011-05/msg00005.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2011-April/057709.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2011-March/056642.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2011:053
vendor-advisory
-
debian.org
/security/2011/dsa-2266
vendor-advisory
-
lists.apple.com
/archives/Security-announce/2011//Oct/msg00003.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2011-April/057710.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2011:052
vendor-advisory
-
vupen.com
/english/advisories/2011/0764
vdb-entry, vendor-advisory
-
secunia.com
/advisories/43621
third-party-advisory, vendor-advisory
-
vupen.com
/english/advisories/2011/0890
vdb-entry, vendor-advisory
-
vupen.com
/english/advisories/2011/0744
vdb-entry, vendor-advisory
-
securityreason.com
/securityalert/8146
third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/66173
vdb-entry
- php.net /releases/5_3_6.php
-
securityreason.com
/achievement_securityalert/96
third-party-advisory
- php.net /ChangeLog-5.php
- php.net /archive/2011.php
-
securityfocus.com
/archive/1/517065/100/0/threaded
mailing-list
-
securityfocus.com
/bid/46354
vdb-entry
- support.apple.com /kb/HT5002
Sources
- CVE List CVE-2011-0421
- NVD CVE-2011-0421
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.