cve.bz

CVE-2010-3870 Improper Input Validation

no score yetExploitEPSS 11%Fix available

No CVSS score yet. EPSS 11% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
11% (unchanged from 11% a week ago; 11% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2010-3870 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2010-3870?via=ask-ai-copy and https://cve.bz/cve/CVE-2010-3870?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2010-3870 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
php:phpbefore 5.2.14
php:phpfrom 5.3.0 before 5.3.4
canonical:ubuntu_linux6.06
canonical:ubuntu_linux8.04
canonical:ubuntu_linux9.10
canonical:ubuntu_linux10.04
canonical:ubuntu_linux10.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian5.0php55.2.6.dfsg.1-1+lenny10DSA-2195-1
Debian6.0php55.3.3-7+squeeze1DSA-2195-1
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morephp, php-gd, php-imap and 12 more0:4.3.9-3.31RHSA-2010:0919
Red Hatenterprise_linux:5::client_workstation, enterprise_linux:5::serverphp, php-gd, php-cli and 17 more0:5.1.6-27.el5_5.3RHSA-2010:0919
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morephp, php-gd, php-cli and 24 more0:5.3.2-6.el6_0.1RHSA-2011:0195

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 4php-0:4.3.9-3.31Fixed 2010-11-29RHSA-2010:0919
Red Hat Enterprise Linux 5php-0:5.1.6-27.el5_5.3Fixed 2010-11-29RHSA-2010:0919
Red Hat Enterprise Linux 6php-0:5.3.2-6.el6_0.1Fixed 2011-02-03RHSA-2011:0195
Red Hat Enterprise Linux 5php53Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2010-3870.

Public exploits

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON