Input validation error in PHP - CVE-2007-1718

 

Input validation error in PHP - CVE-2007-1718

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


Vulnerability identifier: #VU110421
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2007-1718
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to manipulate data.

CRLF injection vulnerability in the mail function in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allows remote attackers to inject arbitrary e-mail headers and possibly conduct spam attacks via a control character immediately following folding of the (1) Subject or (2) To parameter, as demonstrated by a parameter containing a " " sequence, related to an increment bug in the SKIP_LONG_HEADER_SEP macro.


How to mitigate CVE-2007-1718

Install update from vendor's website.

Sources