Input validation error in PHP - CVE-2007-2844

 

Input validation error in PHP - CVE-2007-2844

Published: October 30, 2018 / Updated: June 8, 2025


Vulnerability identifier: #VU110396
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2007-2844
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

PHP 4.x and 5.x before 5.2.1, when running on multi-threaded systems, does not ensure thread safety for libc crypt function calls using protection schemes such as a mutex, which creates race conditions that allow remote attackers to overwrite internal program memory and gain system access.


Affected software

PHP

How to mitigate CVE-2007-2844

Install update from vendor's website.

PHP - addressed in versions 4.4.7, 4.10, 5.2.0

External References

Related Security Bulletins