Back
CVE-2010-3870
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…
Medium6.8EPSS 11.3%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 11.3% · top 4.0% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Weakness
Affected products
n/a
- affected n/a
References (33)
- [oss-security] 20101102 Re: utf-8 security issue in php (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- ADV-2011-0077 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- FEDORA-2010-19011 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- 42812 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- HPSBOV02763 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- [oss-security] 20101102 Re: utf-8 security issue in php (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- RHSA-2011:0195 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [oss-security] 20101102 Re: utf-8 security issue in php (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 1024797 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- SUSE-SR:2010:023 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- http://bugs.php.net/bug.php?id=49687 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriteXSS-SLIDES.pdf (opens in a new tab)x_refsource_MISCx_transferred
- APPLE-SA-2011-03-21-1 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- USN-1042-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- [oss-security] 20101102 Re: utf-8 security issue in php (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- RHSA-2010:0919 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://bugs.php.net/bug.php?id=48230 (opens in a new tab)x_refsource_MISCx_transferred
- ADV-2011-0021 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- http://www.php.net/ChangeLog-5.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.html (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20101102 utf-8 security issue in php (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 42410 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- MDVSA-2010:224 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- FEDORA-2010-18976 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- [oss-security] 20101103 Re: utf-8 security issue in php (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://svn.php.net/viewvc?view=revision&revision=304959 (opens in a new tab)x_refsource_CONFIRMx_transferred
- ADV-2011-0020 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- [oss-security] 20101102 Re: utf-8 security issue in php (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 44605 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://us2.php.net/manual/en/function.utf8-decode.php#83935 (opens in a new tab)x_refsource_MISCx_transferred
- http://www.acunetix.com/blog/web-security-articles/security-risks-associated-with-utf8_decode/ (opens in a new tab)x_refsource_MISCx_transferred
- ADV-2010-3081 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- http://support.apple.com/kb/HT4581 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2010-3870)Record last updated .