Input validation error in PHP - CVE-2007-1453

 

Input validation error in PHP - CVE-2007-1453

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


Vulnerability identifier: #VU110437
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-1453
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.

Buffer underflow in the PHP_FILTER_TRIM_DEFAULT macro in the filtering extension (ext/filter) in PHP 5.2.0 allows context-dependent attackers to execute arbitrary code by calling filter_var with certain modes such as FILTER_VALIDATE_INT, which causes filter to write a null byte in whitespace that precedes the buffer.


Affected software

PHP

How to mitigate CVE-2007-1453

Install update from vendor's website.

PHP - update to 5.2.1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins