CVE-2006-5465: PHP

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

Buffer overflow in PHP before 5.2.0 allows remote attackers to execute arbitrary code via crafted UTF-8 inputs to the (1) htmlentities or (2) htmlspecialchars functions.

Affected products

  • PHP PHP: up to and including 5.1.6; version 5.0 only; version 5.0.0 only; version 5.0.1 only; version 5.0.2 only; version 5.0.3 only; …

Published 2006-11-04. Last modified 2026-06-16.