Buffer overflow in PHP - CVE-2007-1381

 

Buffer overflow in PHP - CVE-2007-1381

Published: September 5, 2008 / Updated: June 14, 2025


Vulnerability identifier: #VU110452
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2007-1381
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

The wddx_deserialize function in wddx.c 1.119.2.10.2.12 and 1.119.2.10.2.13 in PHP 5, as modified in CVS on 20070224 and fixed on 20070304, calls strlcpy where strlcat was intended and uses improper arguments, which allows context-dependent attackers to execute arbitrary code via a WDDX packet with a malformed overlap of a STRING element, which triggers a buffer overflow. This vulnerability impacts PHP CVS as of 2007-02-24


Affected software

PHP

How to mitigate CVE-2007-1381

Install update from vendor's website.

PHP - update to 5.0

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins