All vulnerabilities

Servers and applications

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 command line arguments to the MTA (e.g. sendmail) in the 5th argument to mail(), altering MTA behavior and possibly executing commands.

Severity
High 7.5
Published
24 Sept 2002
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
3% in the next 30 daysHigher than 87% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Argument injection (CWE-88)
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • From 4.0 up to 4.2.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2002-0985
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2002-0985