CVE-2010-3870: Canonical Ubuntu Linux
Medium severity, CVSS 6.8. EPSS: 11.3% chance of exploitation in the next 30 days.
The utf8_decode function in PHP before 5.3.4 does not properly handle non-shortest form UTF-8 encoding and ill-formed subsequences in UTF-8 data, which makes it easier for remote attackers to bypass cross-site scripting (XSS) and SQL injection protection mechanisms via a crafted string.
Affected products
- Canonical Ubuntu Linux: version 6.06 only; version 8.04 only; version 9.10 only; version 10.04 only; version 10.10 only
- PHP PHP: before 5.2.14 (fixed in 5.2.14); from 5.3.0, before 5.3.4 (fixed in 5.3.4)
Published 2010-11-12. Last modified 2026-06-16.