Input validation error in PHP - CVE-2002-0986

 

Input validation error in PHP - CVE-2002-0986

Published: October 10, 2017 / Updated: June 8, 2025


Vulnerability identifier: #VU110540
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2002-0986
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 corrupt data.

The mail function in PHP 4.x to 4.2.2 does not filter ASCII control characters from its arguments, which could allow remote attackers to modify mail message content, including mail headers, and possibly use PHP as a "spam proxy."


Affected software

PHP

How to mitigate CVE-2002-0986

Install update from vendor's website.

PHP - addressed in versions 4.2.3, 4.10

External References

Related Security Bulletins