Live threats

All CVEs / Php

CVE-2010-3870Php

Medium 6.8 No auth neededHigh EPSS

Priority
57
CVSS 2.0
6.8
EPSS
11.3%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Nov 12, 2010
Updated
Jun 16, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp< 5.2.14
phpphp≥ 5.3.0 < 5.3.4
canonicalubuntu_linux6.06
canonicalubuntu_linux8.04
canonicalubuntu_linux9.10
canonicalubuntu_linux10.04
canonicalubuntu_linux10.10

Official sources

References

Links published by the sources. Open them with care.