Input validation error in PHP - CVE-2008-2051

 

Input validation error in PHP - CVE-2008-2051

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


Vulnerability identifier: #VU110348
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-2008-2051
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.

The escapeshellcmd API function in PHP before 5.2.6 has unknown impact and context-dependent attack vectors related to "incomplete multibyte chars."


Affected software

PHP

How to mitigate CVE-2008-2051

Install update from vendor's website.

PHP - update to 5.2.5

External References

Related Security Bulletins