CVE-2007-1584: PHP

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

Buffer underflow in the header function in PHP 5.2.0 allows context-dependent attackers to execute arbitrary code by passing an all-whitespace string to this function, which causes it to write '\0' characters in whitespace that precedes the string.

Affected products

  • PHP PHP: version 5.2.0 only

Published 2007-03-21. Last modified 2026-06-16.