Skip to content
Fencer Intel
medium 4.3

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 more
    affected: 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

  1. First public exploit (EDB-17004)
  2. 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

Sources

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.