Back to CVE catalog
CVE-2007-1718

CRLF injection vulnerability in PHP mail function

Multiple products

At a glance

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 "\r\n\t\n" sequence, related to an increment bug in the SKIP_LONG_HEADER_SEP macro.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityComplete
AvailabilityNone

CVSS summary v2.0

7.8High
Published:
Updated:
EPSS:
6.948%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Related CWE

Not specified

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:phpphpAffected versions:
4.0Show full version range for php
4.0.04.0.14.0.24.0.34.0.44.0.54.0.64.0.74.1.04.1.14.1.24.24.2.04.2.14.2.24.2.34.3.04.3.14.3.104.3.114.3.24.3.34.3.44.3.54.3.64.3.74.3.84.3.94.4.04.4.14.4.24.4.34.4.44.4.54.4.65.05.0.05.0.15.0.25.0.35.0.45.0.55.1.05.1.15.1.25.1.35.1.45.1.55.1.65.2.05.2.1
Vendor:redhatphp
Environments (1)
  • cpe:/o:redhat:enterprise_linux:5
Affected versions:
< 0:5.1.6-11.el5
Vendor:redhatphp-bcmath
Environments (1)
  • cpe:/o:redhat:enterprise_linux:5
Affected versions:
< 0:5.1.6-11.el5
Vendor:redhatphp-cli
Environments (1)
  • cpe:/o:redhat:enterprise_linux:5
Affected versions:
< 0:5.1.6-11.el5
Vendor:redhatphp-common
Environments (1)
  • cpe:/o:redhat:enterprise_linux:5
Affected versions:
< 0:5.1.6-11.el5
Vendor:redhatphp-dba
Environments (1)
  • cpe:/o:redhat:enterprise_linux:5
Affected versions:
< 0:5.1.6-11.el5
Vendor:redhatphp-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:5
Affected versions:
< 0:5.1.6-11.el5
Vendor:redhatphp-gd
Environments (1)
  • cpe:/o:redhat:enterprise_linux:5
Affected versions:
< 0:5.1.6-11.el5
Vendor:redhatphp-imap
Environments (1)
  • cpe:/o:redhat:enterprise_linux:5
Affected versions:
< 0:5.1.6-11.el5
Vendor:redhatphp-ldap
Environments (1)
  • cpe:/o:redhat:enterprise_linux:5
Affected versions:
< 0:5.1.6-11.el5

1–10 of 20 · Page 1 of 2

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary7.8 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Complete
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:C/A:N
nvd · Wazuh CTI (cna)7.8 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Complete
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:C/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories32

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences