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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | php +25 | 5.3.2-6.el6_0.1 | RHSA-2011:0195 |
| RHEL 5 | php +18 | 5.1.6-27.el5_5.3 | RHSA-2010:0919 |
| RHEL 4 | php +13 | 4.3.9-3.31 | RHSA-2010:0919 |
Advisories 2
- RHSA-2011:0195 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2010:0919 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- ADV-2011-0077 vdb-entry
- 44889 vdb-entry
- FEDORA-2010-19011 vendor-advisory
- 42812 third-party-advisory
- RHSA-2011:0195 vendor-advisory
- http://bugs.php.net/bug.php?id=49687
- http://www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriteXSS-SLIDES.pdf
- USN-1042-1 vendor-advisory
- RHSA-2010:0919 vendor-advisory
- ADV-2011-0021 vdb-entry
- http://sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.html
- 42410 third-party-advisory
- FEDORA-2010-18976 vendor-advisory
- ADV-2011-0020 vdb-entry
- ADV-2010-3081 vdb-entry