CVE-2007-1399 Memory corruption in n/a

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code via a stack-based buffer overflow in the PHP zip:// URL wrapper.

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

What is CVE-2007-1399?

CVE-2007-1399 is a critical memory corruption vulnerability in Php Php, published on 10 Mar 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Stack-based buffer overflow in the zip:// URL wrapper in PECL ZIP 1.8.3 and earlier, as bundled with PHP 5.2.0 and 5.2.1, allows remote attackers to execute arbitrary code via a long zip:// URL, as demonstrated by actively triggering URL access from a remote PHP interpreter via avatar upload or blog pingback.

Which versions are affected by CVE-2007-1399?

It affects 2 products.

Products include Php Php, Pierrejoye Php Zip.

How do I fix CVE-2007-1399?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2007-1399 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-1399 exists.

Public exploit code: 1 Exploit-DB entry.

All Php Php vulnerabilities

Sources

Also known as GHSA-39ch-q5j8-9rjh.

Is CVE-2007-1399 in your software?

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

Check your SBOMs for free