CVE-2007-1718 EXPLOIT
7.8
HIGH · CVSS 2.0 · EPSS 6.7% (pctl 94)
Patch early
A public exploit exists.
Description
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.
Scoring
| CVSS | 7.8 (HIGH, v2.0) |
|---|---|
| Vector | AV:N/AC:L/Au:N/C:N/I:C/A:N |
| EPSS | 6.69% — more likely to be exploited than 94% of all CVEs |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2007-03-28 |
| Last modified | 2026-06-16 |
Affected (1)
| Vendor | Product |
|---|---|
| php | php |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | PHP 5.2.1 - Folded Mail Headers Email Header Injection | 2007-11-26 |
References
- http://rhn.redhat.com/errata/RHSA-2007-0155.html
- http://secunia.com/advisories/24909
- http://secunia.com/advisories/24924
- http://secunia.com/advisories/24965
- http://secunia.com/advisories/25025
- http://secunia.com/advisories/25056
- http://secunia.com/advisories/25057
- http://secunia.com/advisories/25062
- http://secunia.com/advisories/25445
- http://security.gentoo.org/glsa/glsa-200705-19.xml
- http://us2.php.net/releases/5_2_2.php
- http://www.debian.org/security/2007/dsa-1282
- http://www.debian.org/security/2007/dsa-1283
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:087
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:088
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:089
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:090
- http://www.novell.com/linux/security/advisories/2007_32_php.html
- http://www.php-security.org/MOPB/MOPB-34-2007.html
- http://www.redhat.com/support/errata/RHSA-2007-0153.html
→ the Explorer · watch your stack · NVD