What’s Vulnerable › Vulnerabilities
CVE-2009-5016
- Severity: medium (CVSS 6.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2010-11-12 · updated 2026-06-16
- Weakness: CWE-189
Description
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: through 5.2.10; 1.0, 2.0, 2.0b10, 3.0, 3.0.1, 3.0.2 (+81)
References
- http://bugs.php.net/bug.php?id=49687
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052836.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052845.html
- http://secunia.com/advisories/42410
- http://secunia.com/advisories/42812
- http://sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.html
- http://www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriteXSS-SLIDES.pdf
- http://www.redhat.com/support/errata/RHSA-2010-0919.html
- http://www.redhat.com/support/errata/RHSA-2011-0195.html
- http://www.securityfocus.com/bid/44889
- http://www.ubuntu.com/usn/USN-1042-1
- http://www.vupen.com/english/advisories/2010/3081
Get alerted when CVE-2009-5016 or the next vulnerability affects your stack