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 arbit
Noroxi assessment
Priority: Monitor (action score 33/100)
- Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 6.6% (FIRST EPSS); higher than 93.7% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: php4 (Debian:3.1) 4:4.3.10-20; php4 (Debian:4.0) 6:4.4.4-8+etch2; php5 (Debian:4.0) 5.2.0-8+etch3.
Low priority for now. Upgrade to php4 (Debian:3.1) 4:4.3.10-20; php4 (Debian:4.0) 6:4.4.4-8+etch2; php5 (Debian:4.0) 5.2.0-8+etch3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
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.
- Published
- Mar 27, 2007
- Updated
- Jun 16, 2026
- EPSS
- 6.7% · 94th percentile
- CWE
- —
Report tools
Action score
33
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 6.7%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| php | php | cpe:2.3:a:php:php |
Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- php php4.0
- php php4.0.0
- php php4.0.1
- php php4.0.2
- php php4.0.3
- php php4.0.4
- php php4.0.5
- php php4.0.6
- php php4.0.7
- php php4.1.0
- php php4.1.1
- php php4.1.2
- php php4.2
- php php4.2.0
- php php4.2.1
- php php4.2.2
- php php4.2.3
- php php4.3.0
- php php4.3.1
- php php4.3.10
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:3.1 | php4 | before 4:4.3.10-20 | 4:4.3.10-20 |
| Debian:4.0 | php4 | before 6:4.4.4-8+etch2 | 6:4.4.4-8+etch2 |
| Debian:4.0 | php5 | before 5.2.0-8+etch3 | 5.2.0-8+etch3 |
| Debian:5.0 | php4 | before 6:4.4.4-9+lenny1 | 6:4.4.4-9+lenny1 |
| Debian:5.0 | php5 | before 5.2.0-10+lenny1 | 5.2.0-10+lenny1 |
| Red Hat:enterprise_linux:3::as | php | before 0:4.3.2-40.ent | 0:4.3.2-40.ent |
| Red Hat:enterprise_linux:3::as | php-debuginfo | before 0:4.3.2-40.ent | 0:4.3.2-40.ent |
| Red Hat:enterprise_linux:3::as | php-devel | before 0:4.3.2-40.ent | 0:4.3.2-40.ent |
| Red Hat:enterprise_linux:3::as | php-imap | before 0:4.3.2-40.ent | 0:4.3.2-40.ent |
| Red Hat:enterprise_linux:3::as | php-ldap | before 0:4.3.2-40.ent | 0:4.3.2-40.ent |
| Red Hat:enterprise_linux:3::as | php-mysql | before 0:4.3.2-40.ent | 0:4.3.2-40.ent |
| Red Hat:enterprise_linux:3::as | php-odbc | before 0:4.3.2-40.ent | 0:4.3.2-40.ent |
| Red Hat:enterprise_linux:3::as | php-pgsql | before 0:4.3.2-40.ent | 0:4.3.2-40.ent |
| Red Hat:enterprise_linux:4::as | php | before 0:4.3.9-3.22.4 | 0:4.3.9-3.22.4 |
| Red Hat:enterprise_linux:4::as | php-debuginfo | before 0:4.3.9-3.22.4 | 0:4.3.9-3.22.4 |
| Red Hat:enterprise_linux:4::as | php-devel | before 0:4.3.9-3.22.4 | 0:4.3.9-3.22.4 |
| Red Hat:enterprise_linux:4::as | php-domxml | before 0:4.3.9-3.22.4 | 0:4.3.9-3.22.4 |
| Red Hat:enterprise_linux:4::as | php-gd | before 0:4.3.9-3.22.4 | 0:4.3.9-3.22.4 |
| Red Hat:enterprise_linux:4::as | php-imap | before 0:4.3.9-3.22.4 | 0:4.3.9-3.22.4 |
| Red Hat:enterprise_linux:4::as | php-ldap | before 0:4.3.9-3.22.4 | 0:4.3.9-3.22.4 |
| Red Hat:enterprise_linux:4::as | php-mbstring | before 0:4.3.9-3.22.4 | 0:4.3.9-3.22.4 |
| Red Hat:enterprise_linux:4::as | php-mysql | before 0:4.3.9-3.22.4 | 0:4.3.9-3.22.4 |
| Red Hat:enterprise_linux:4::as | php-ncurses | before 0:4.3.9-3.22.4 | 0:4.3.9-3.22.4 |
| Red Hat:enterprise_linux:4::as | php-odbc | before 0:4.3.9-3.22.4 | 0:4.3.9-3.22.4 |
+44
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Now
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Now
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle queKEV99Now
- CVE-2018-7584In PHP through 5.6.33, 7.0.x before 7.0.28, 7.1.x through 7.1.14, and 7.2.x through 7.2.2, there is a stack-based buffer under-read while pa65This week
- CVE-2018-19518University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means of 59Plan
- CVE-2016-3078Multiple integer overflows in php_zip.c in the zip extension in PHP before 7.0.6 allow remote attackers to cause a denial of service (heap-b56Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:php4 | 4:4.3.10-20 · Debian:3.1 | Package registry (OSV) |
| debian:php5 | 5.2.0-8+etch3 · Debian:4.0 | Package registry (OSV) |
| red hat:php | 0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-bcmath | 0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-cli | 0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-common | 0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-dba | 0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-debuginfo | 0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-devel | 0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-gd | 0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-imap | 0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-ldap | 0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-mbstring | 0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-mysql | 0:5.1.6-11.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | remote | 2007-11-26 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+243 d
- TodayOct 13, 2026+7139 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- C · data or configuration can be modified
- Availability
- none
- Attack complexity
- Low
- Confidentiality impact
- None
- Integrity impact
- C
- Availability impact
- None
Weakness class (CWE)
—
CVSS vector
AV:N/AC:L/Au:N/C:N/I:C/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- secunia.com/advisories/24909
- secunia.com/advisories/24924
- secunia.com/advisories/24965
- secunia.com/advisories/25025
- secunia.com/advisories/25056
- secunia.com/advisories/25057
- secunia.com/advisories/25062
- secunia.com/advisories/25445
- security.gentoo.org/glsa/glsa-200705-19.xml
- us2.php.net/releases/5_2_2.php
- www.debian.org/security/2007/dsa-1282
- www.debian.org/security/2007/dsa-1283
- www.mandriva.com/security/advisories?name=MDKSA-2007:087
- www.mandriva.com/security/advisories?name=MDKSA-2007:088
- www.mandriva.com/security/advisories?name=MDKSA-2007:089
- www.mandriva.com/security/advisories?name=MDKSA-2007:090
- www.novell.com/linux/security/advisories/2007_32_php.html
- www.redhat.com/support/errata/RHSA-2007-0153.html
- www.redhat.com/support/errata/RHSA-2007-0162.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.