CVE-2011-0421 Null dereference in n/a

Medium 4.3 Published Updated

Attackers can cause a denial of service via NULL pointer dereference in PHP's Zip extension by processing empty ZIP archives.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2011-0421?

CVE-2011-0421 is a medium-severity vulnerability in Php Php, published on 20 Mar 2011. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Which versions are affected by CVE-2011-0421?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2011-0421?

Upgrade to a fixed version.

Is CVE-2011-0421 being exploited?

There is no known exploitation of CVE-2011-0421 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

All Php Php vulnerabilities

Sources

Also known as DEBIAN-CVE-2011-0421, GHSA-h3v6-hj58-cx74.

Is CVE-2011-0421 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free