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.0:
CVE-ID: CVE-2007-1399
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

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.


How to mitigate CVE-2007-1399

Install update from vendor's website.

Sources