Input validation error in PHP - CVE-2007-2872

 

Input validation error in PHP - CVE-2007-2872

Published: February 13, 2023 / Updated: June 9, 2025


Vulnerability identifier: #VU110393
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2007-2872
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

Multiple integer overflows in the chunk_split function in PHP 5 before 5.2.3 and PHP 4 before 4.4.8 allow remote attackers to cause a denial of service (crash) or execute arbitrary code via the (1) chunks, (2) srclen, and (3) chunklen arguments.


Affected software

PHP

How to mitigate CVE-2007-2872

Install update from vendor's website.

PHP - update to 5.2.3

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins