CVE-2002-0985 json
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…
published 2002-09-24 24 y ago modified 2026-06-16 4 mo ago also EUVD-2002-0974
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.0%
- EPSS 3.0% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- debian.org/security/2002/dsa-168 advisory
- redhat.com/support/errata/RHSA-2002-213.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2002-0985 updated
security flaw
-
Red Hat Linux 7.0 Red Hat Linux 7.1 Red Hat Linux 7.2 Red Hat Linux 7.3fixed: vendor fix RHSA-2002:213
-
Red Hat Linux Advanced Workstation 2.1fixed: vendor fix RHSA-2002:214
-
Red Hat Stronghold 3fixed: vendor fix RHSA-2002:243
-
Red Hat Stronghold 4fixed: vendor fix RHSA-2002:244
-
Red Hat Stronghold 4 for Red Hat Enterprise Linuxfixed: vendor fix RHSA-2002:248
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.95% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-88 Improper Neutralization of Argument Delimiters in a Command
- Technology feeds
References
-
debian.org
/security/2002/dsa-168
vendor-advisory, broken-link, patch
-
redhat.com
/support/errata/RHSA-2002-213.html
vendor-advisory, broken-link, patch
-
redhat.com
/support/errata/RHSA-2002-243.html
vendor-advisory, broken-link
-
redhat.com
/support/errata/RHSA-2003-159.html
vendor-advisory, broken-link
-
mandrakesoft.com
/security/advisories?name=MDKSA-2003:082
vendor-advisory, broken-link
-
novell.com
/linux/security/advisories/2002_036_modphp4.html
vendor-advisory, broken-link
-
distro.conectiva.com.br
/atualizacoes/?id=a&anuncio=000545
vendor-advisory, broken-link
-
redhat.com
/support/errata/RHSA-2002-248.html
vendor-advisory, broken-link
-
redhat.com
/support/errata/RHSA-2002-244.html
vendor-advisory, broken-link
-
redhat.com
/support/errata/RHSA-2002-214.html
vendor-advisory, broken-link
-
marc.info
/?l=bugtraq&m=105760591228031&w=2
mailing-list, third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/9966
vdb-entry, third-party-advisory
-
marc.info
/?l=bugtraq&m=103011916928204&w=2
mailing-list, third-party-advisory
-
osvdb.org
/2111
vdb-entry, broken-link
Sources
- CVE List CVE-2002-0985
- NVD CVE-2002-0985
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.