Input validation error in PHP - CVE-2007-1900

 

Input validation error in PHP - CVE-2007-1900

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


Vulnerability identifier: #VU110406
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-2007-1900
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.

CRLF injection vulnerability in the FILTER_VALIDATE_EMAIL filter in ext/filter in PHP 5.2.0 and 5.2.1 allows context-dependent attackers to inject arbitrary e-mail headers via an e-mail address with a ' ' character, which causes a regular expression to ignore the subsequent part of the address string.


Affected software

PHP
Gentoo Linux
dev-lang/php

How to mitigate CVE-2007-1900

Install update from vendor's website.

PHP - update to 5.2.2
dev-lang/php - update to 5.2.2

External References

Related Security Bulletins