CVE-2007-1453: PHP

High severity, CVSS 7.5. EPSS: 9.7% chance of exploitation in the next 30 days.

Buffer underflow in the PHP_FILTER_TRIM_DEFAULT macro in the filtering extension (ext/filter) in PHP 5.2.0 allows context-dependent attackers to execute arbitrary code by calling filter_var with certain modes such as FILTER_VALIDATE_INT, which causes filter to write a null byte in whitespace that precedes the buffer.

Affected products

  • PHP PHP: version 5.2.0 only

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