Input validation error in PHP - CVE-2007-1375

 

Input validation error in PHP - CVE-2007-1375

Published: October 11, 2017 / Updated: June 12, 2025


Vulnerability identifier: #VU110447
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2007-1375
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 gain access to sensitive information.

Integer overflow in the substr_compare function in PHP 5.2.1 and earlier allows context-dependent attackers to read sensitive memory via a large value in the length argument, a different vulnerability than CVE-2006-1991.


Affected software

PHP
Gentoo Linux
dev-lang/php

How to mitigate CVE-2007-1375

Install update from vendor's website.

PHP - update to 5.2.2
dev-lang/php - addressed in versions 5.2.1-r3, 5.2.2

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins