CVE-2011-0421: PHP

Medium severity, CVSS 4.3. EPSS: 13.5% chance of exploitation in the next 30 days.

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.

Affected products

  • PHP PHP: up to and including 5.3.5; version 1.0 only; version 2.0 only; version 2.0b10 only; version 3.0 only; version 3.0.1 only; …

Published 2011-03-20. Last modified 2026-06-16.