Stack-based buffer overflow in PHP - CVE-2007-1399

 

Stack-based buffer overflow in PHP - CVE-2007-1399

Published: July 29, 2017 / Updated: June 12, 2025


Vulnerability identifier: #VU110444
CSH Severity: High
CVSS v4: []
CVE-ID: CVE-2007-1399
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing a long zip:// URL, as demonstrated by actively triggering URL access from a remote PHP interpreter via avatar upload or blog pingback. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

PHP

How to mitigate CVE-2007-1399

Install update from vendor's website.

PHP - update to 5.2.2

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins