Back
CVE-2002-0985
Argument injection vulnerability in the mail function for PHP 4.x to 4.2.2 may allow attackers to bypass safe mode restrictions and modify…
High7.5EPSS 3.0%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
Argument injection vulnerability in the mail function for PHP 4.x to 4.2.2 may allow attackers to bypass safe mode restrictions and modify command line arguments to the MTA (e.g. sendmail) in the 5th argument to mail(), altering MTA behavior and possibly executing commands.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 3.0% · top 13% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
References (14)
- 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
- php-mail-safemode-bypass(9966) (opens in a new tab)vdb-entryx_refsource_XFx_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
- 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
- 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
- 2111 (opens in a new tab)vdb-entryx_refsource_OSVDBx_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)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2002-0985)Record last updated .