Back
CVE-2002-0986
The mail function in PHP 4.x to 4.2.2 does not filter ASCII control characters from its arguments, which could allow remote attackers to…
Medium5.0EPSS 4.7%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
The mail function in PHP 4.x to 4.2.2 does not filter ASCII control characters from its arguments, which could allow remote attackers to modify mail message content, including mail headers, and possibly use PHP as a "spam proxy."
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 4.7% · top 8.2% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (16)
- 20030707 [OpenPKG-SA-2003.032] OpenPKG Security Advisory (php) (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- DSA-168 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- VU#410609 (opens in a new tab)third-party-advisoryx_refsource_CERT-VNx_transferred
- 20020823 PHP: Bypass safe_mode and inject ASCII control chars with mail() (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- RHSA-2002:243 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 2160 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- RHSA-2003:159 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- MDKSA-2003:082 (opens in a new tab)vendor-advisoryx_refsource_MANDRAKEx_transferred
- 5562 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- php-mail-ascii-injection(9959) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- SuSE-SA:2002:036 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- CLA-2002:545 (opens in a new tab)vendor-advisoryx_refsource_CONECTIVAx_transferred
- RHSA-2002:213 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2002:248 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2002:244 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2002:214 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .