CVE-2009-5016: PHP

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

Integer overflow in the xml_utf8_decode function in ext/xml/xml.c in PHP before 5.2.11 makes it easier for remote attackers to bypass cross-site scripting (XSS) and SQL injection protection mechanisms via a crafted string that uses overlong UTF-8 encoding, a different vulnerability than CVE-2010-3870.

Affected products

  • PHP PHP: up to and including 5.2.10; version 1.0 only; version 2.0 only; version 2.0b10 only; version 3.0 only; version 3.0.1 only; …

Published 2010-11-12. Last modified 2026-06-16.