Skip to content
Fencer Vulns
high 7.5

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

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.3
    fixed: vendor fix RHSA-2002:213
  • Red Hat Linux Advanced Workstation 2.1
    fixed: vendor fix RHSA-2002:214
  • Red Hat Stronghold 3
    fixed: vendor fix RHSA-2002:243
  • Red Hat Stronghold 4
    fixed: vendor fix RHSA-2002:244
  • Red Hat Stronghold 4 for Red Hat Enterprise Linux
    fixed: 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

Sources

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.