Vulnerabilities · 2009 · Php
CVE-2009-5016
Php vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.php.net/bug.php?id=49687 · Exploit
- sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.html · Exploit
- www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriteXSS-SLIDES.pdf · Exploit
- lists.fedoraproject.org/pipermail/package-announce/2011-January/052836.html
- lists.fedoraproject.org/pipermail/package-announce/2011-January/052845.html
- secunia.com/advisories/42410
- secunia.com/advisories/42812
- www.redhat.com/support/errata/RHSA-2010-0919.html
- nvd.nist.gov/vuln/detail/CVE-2009-5016
- cve.org/CVERecord?id=CVE-2009-5016
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.