All vulnerabilities

Servers and applications

CVE-2002-0986

The mail function in PHP 4.x to 4.2.2 does not filter ASCII control characters from its arguments, which could allow remote attackers to modify mail message content, including mail headers, and possibly use PHP as a "spam proxy."

Severity
Medium 5.0
Published
24 Sept 2002
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
4.7% in the next 30 daysHigher than 91% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · No login needed
Attacker can
Change some data
CVSS vector
AV:N/AC:L/Au:N/C:N/I:P/A:N
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 4.2.2
  • Version 4.2.1
  • Version 4.2.0
  • Version 4.1.2
All 18 release lines
  • Version 3.0.18
  • Version 4.0
  • Version 4.0.1
  • Version 4.0.1-patch1
  • Version 4.0.1-patch2
  • Version 4.0.2
  • Version 4.0.3
  • Version 4.0.3-patch1
  • Version 4.0.4
  • Version 4.0.5
  • Version 4.0.6
  • Version 4.0.7
  • Version 4.1.0
  • Version 4.1.1
  • Version 4.1.2
  • Version 4.2.0
  • Version 4.2.1
  • Version 4.2.2

References

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