CVE-2002-0986: PHP

Medium severity, CVSS 5.0. EPSS: 4.7% chance of exploitation in the next 30 days.

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."

Affected products

  • PHP PHP: version 3.0.18 only; version 4.0 only; version 4.0.1 only; version 4.0.2 only; version 4.0.3 only; version 4.0.4 only; …

Published 2002-09-24. Last modified 2026-06-16.