Skip to main content
Network Thinking Solutions Logo

CVE-2009-5016

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.

All CVEs
CVE-2009-5016Published 11/12/2010

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.

Vendor advisory
CVSS6.8Medium

Overview

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.

Published
11/12/2010
Last modified
6/16/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
php
php
≤ 5.2.10

Verify advisory

Source
php
php
1.0

Verify advisory

Source
php
php
2.0

Verify advisory

Source
php
php
2.0b10

Verify advisory

Source
php
php
3.0

Verify advisory

Source
php
php
3.0.1

Verify advisory

Source
php
php
3.0.2

Verify advisory

Source
php
php
3.0.3

Verify advisory

Source
php
php
3.0.4

Verify advisory

Source
php
php
3.0.5

Verify advisory

Source
php
php
3.0.6

Verify advisory

Source
php
php
3.0.7

Verify advisory

Source
php
php
3.0.8

Verify advisory

Source
php
php
3.0.9

Verify advisory

Source
php
php
3.0.10

Verify advisory

Source
php
php
3.0.11

Verify advisory

Source
php
php
3.0.12

Verify advisory

Source
php
php
3.0.13

Verify advisory

Source
php
php
3.0.14

Verify advisory

Source
php
php
3.0.15

Verify advisory

Source
php
php
3.0.16

Verify advisory

Source
php
php
3.0.17

Verify advisory

Source
php
php
3.0.18

Verify advisory

Source
php
php
4.0

Verify advisory

Source
php
php
4.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
4.0.0

Verify advisory

Source
php
php
4.0.1

Verify advisory

Source
php
php
4.0.2

Verify advisory

Source
php
php
4.0.3

Verify advisory

Source
php
php
4.0.4

Verify advisory

Source
php
php
4.0.5

Verify advisory

Source
php
php
4.0.6

Verify advisory

Source
php
php
4.0.7

Verify advisory

Source
php
php
4.1.0

Verify advisory

Source
php
php
4.1.1

Verify advisory

Source
php
php
4.1.2

Verify advisory

Source
php
php
4.2.0

Verify advisory

Source
php
php
4.2.1

Verify advisory

Source
php
php
4.2.2

Verify advisory

Source
php
php
4.2.3

Verify advisory

Source
php
php
4.3.0

Verify advisory

Source
php
php
4.3.1

Verify advisory

Source
php
php
4.3.2

Verify advisory

Source
php
php
4.3.3

Verify advisory

Source
php
php
4.3.4

Verify advisory

Source
php
php
4.3.5

Verify advisory

Source
php
php
4.3.6

Verify advisory

Source
php
php
4.3.7

Verify advisory

Source
php
php
4.3.8

Verify advisory

Source
php
php
4.3.9

Verify advisory

Source
php
php
4.3.10

Verify advisory

Source
php
php
4.3.11

Verify advisory

Source
php
php
4.4.0

Verify advisory

Source
php
php
4.4.1

Verify advisory

Source
php
php
4.4.2

Verify advisory

Source
php
php
4.4.3

Verify advisory

Source
php
php
4.4.4

Verify advisory

Source
php
php
4.4.5

Verify advisory

Source
php
php
4.4.6

Verify advisory

Source
php
php
4.4.7

Verify advisory

Source
php
php
4.4.8

Verify advisory

Source
php
php
4.4.9

Verify advisory

Source
php
php
5.0.0

Verify advisory

Source
php
php
5.0.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
5.0.1

Verify advisory

Source
php
php
5.0.2

Verify advisory

Source
php
php
5.0.3

Verify advisory

Source
php
php
5.0.4

Verify advisory

Source
php
php
5.0.5

Verify advisory

Source
php
php
5.1.0

Verify advisory

Source
php
php
5.1.1

Verify advisory

Source
php
php
5.1.2

Verify advisory

Source
php
php
5.1.3

Verify advisory

Source
php
php
5.1.4

Verify advisory

Source
php
php
5.1.5

Verify advisory

Source
php
php
5.1.6

Verify advisory

Source
php
php
5.2.0

Verify advisory

Source
php
php
5.2.1

Verify advisory

Source
n/a
n/a
n/a

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 6.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.