Skip to content
OpenAdvisories
Unscored CVE-2009-5016 EUVD-2009-4974GHSA-8fg6-84xm-jg65

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…

Published Nov 12, 2010 · Updated Aug 7, 2024 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
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

References