CVE-2002-0985
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
2.951%
chance of exploitation in the next 30 days
higher than 87.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-88: Improper Neutralization of Argument Delimiters in a Command
Timeline
- 2002-09-24Published
- 2004-09-01Published by the CNA04:00 UTC · 708 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| php php | from 4.0 through 4.2.2no fix listed | not listed |
| openpkg openpkg | 1.1no fix listed1.2no fix listed | not listednot listed |
References
- http://www.debian.org/security/2002/dsa-168
- http://www.redhat.com/support/errata/RHSA-2002-213.html
- ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2003-008.0.txt
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000545
- http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:082
- http://www.novell.com/linux/security/advisories/2002_036_modphp4.html
- http://www.redhat.com/support/errata/RHSA-2002-214.html
- http://www.redhat.com/support/errata/RHSA-2002-243.html
- http://www.redhat.com/support/errata/RHSA-2002-244.html
- http://www.redhat.com/support/errata/RHSA-2002-248.html
- http://www.redhat.com/support/errata/RHSA-2003-159.html
- http://marc.info/?l=bugtraq&m=103011916928204&w=2
- http://marc.info/?l=bugtraq&m=105760591228031&w=2
- http://www.osvdb.org/2111
- https://exchange.xforce.ibmcloud.com/vulnerabilities/9966
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2002-0985'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2002-0985'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2002-0985'curl 'https://api.contrastcyber.com/cve_products/CVE-2002-0985'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).