cve.bz

CVE-2002-0985 Argument Injection

no score yetEPSS 3.0%Fix available

No CVSS score yet. EPSS 3.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
3.0% (unchanged from 3.0% a week ago; 3.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-88 Improper Neutralization of Argument Delimiters in a Command (Argument Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2002-0985 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2002-0985?via=ask-ai-copy and https://cve.bz/cve/CVE-2002-0985?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2002-0985 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
php:phpfrom 4.0 through 4.2.2
openpkg:openpkg1.1
openpkg:openpkg1.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian3.0php33.0.18-23.1woody1DSA-168
Debian3.0php44.1.2-5DSA-168

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux AS (Advanced Server) version 2.1Fixed 2002-11-11RHSA-2002:214
Red Hat Linux 7.0Fixed 2002-11-11RHSA-2002:213
Red Hat Linux 7.1Fixed 2002-11-11RHSA-2002:213
Red Hat Linux 7.1Fixed 2003-06-30RHSA-2003:159
Red Hat Linux 7.2Fixed 2002-11-11RHSA-2002:213
Red Hat Linux 7.3Fixed 2002-11-11RHSA-2002:213
Red Hat Linux Advanced Workstation 2.1Fixed 2002-11-11RHSA-2002:214
Red Hat Stronghold 3Fixed 2002-11-08RHSA-2002:243
Red Hat Stronghold 4Fixed 2002-11-08RHSA-2002:244
Stronghold 4 for Red Hat Enterprise LinuxFixed 2002-11-07RHSA-2002:248

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2002-0985.

Attack patterns (CAPEC)

  • CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads Likelihood: High · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-137 Parameter Injection Likelihood: Medium · Severity: Medium
  • CAPEC-174 Flash Parameter Injection Likelihood: High · Severity: Medium
  • CAPEC-460 HTTP Parameter Pollution (HPP) Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON