php: XSS mitigation bypass via utf8_decode()
Published Nov 12, 2010
6.8
MEDIUMCVSS 2.0
EPSS 11.28%
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.
Affected products
No data.
Configuration 2
- 6.06
- 8.04
- 9.10
- 10.04
- 10.10
No data.
Red Hat Enterprise Linux 4
php-0:4.3.9-3.31
Fixed · RHSA-2010:0919
Red Hat Enterprise Linux 5
php-0:5.1.6-27.el5_5.3
Fixed · RHSA-2010:0919
Red Hat Enterprise Linux 6
php-0:5.3.2-6.el6_0.1
Fixed · RHSA-2011:0195
Red Hat Enterprise Linux 5
php53
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | php-0:4.3.9-3.31 | Fixed | RHSA-2010:0919 |
| Red Hat Enterprise Linux 5 | php-0:5.1.6-27.el5_5.3 | Fixed | RHSA-2010:0919 |
| Red Hat Enterprise Linux 6 | php-0:5.3.2-6.el6_0.1 | Fixed | RHSA-2011:0195 |
| Red Hat Enterprise Linux 5 | php53 | Affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 11.28% (0.11281) | 95.85th | v5 (v2026.06.15) |
| Jun 15, 2026 | 11.28% (0.11281) | 95.40th | v5 (v2026.06.15) |
| Apr 12, 2026 | 0.62% (0.00619) | 69.99th | v4 (v2025.03.14) |
| Sep 1, 2025 | 1.68% (0.01677) | 81.52th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.53% (0.00535) | 65.43th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.45% (0.00451) | 75.96th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.45% (0.00451) | 74.39th | v3 (v2023.03.01) |
| Nov 29, 2023 | 0.45% (0.00451) | 72.33th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.44% (0.00444) | 70.93th | v3 (v2023.03.01) |
| Mar 6, 2023 | 5.44% (0.05440) | 89.94th | v2 (v2022.01.01) |
| Feb 13, 2023 | 5.44% (0.05440) | 89.60th | v2 (v2022.01.01) |
| Feb 3, 2023 | 39.34% (0.39343) | 98.08th | v2 (v2022.01.01) |
| Apr 1, 2022 | 5.44% (0.05440) | 88.96th | v2 (v2022.01.01) |
| Feb 4, 2022 | 5.44% (0.05440) | 76.25th | v2 (v2022.01.01) |
References (37)
- http://bugs.php.net/bug.php?id=48230 x_refsource_MISCExploitVendor Advisory
- http://bugs.php.net/bug.php?id=49687 x_refsource_CONFIRMExploitVendor Advisory
- http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html vendor-advisoryx_refsource_APPLEMailing ListThird Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052836.html vendor-advisoryx_refsource_FEDORAMailing ListThird Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052845.html vendor-advisoryx_refsource_FEDORAMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00000.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://marc.info/?l=bugtraq&m=133469208622507&w=2 vendor-advisoryx_refsource_HPMailing ListThird Party Advisory
- http://secunia.com/advisories/42410 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/42812 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.html x_refsource_MISCExploitThird Party Advisory
- http://support.apple.com/kb/HT4581 x_refsource_CONFIRMThird Party Advisory
- http://svn.php.net/viewvc?view=revision&revision=304959 x_refsource_CONFIRMPatchVendor Advisory
- http://us2.php.net/manual/en/function.utf8-decode.php#83935 x_refsource_MISCExploitVendor Advisory
- http://www.acunetix.com/blog/web-security-articles/security-risks-associated-with-utf8_decode/ x_refsource_MISCExploitThird Party Advisory
- http://www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriteXSS-SLIDES.pdf x_refsource_MISCExploitThird Party Advisory
- http://www.mandriva.com/en/security/advisories?name=MDVSA-2010:224 vendor-advisoryx_refsource_MANDRIVAThird Party Advisory
- http://www.openwall.com/lists/oss-security/2010/11/02/1 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2010/11/02/11 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2010/11/02/2 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2010/11/02/4 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2010/11/02/6 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2010/11/02/8 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2010/11/03/1 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.php.net/ChangeLog-5.php x_refsource_CONFIRMVendor Advisory
- http://www.redhat.com/support/errata/RHSA-2010-0919.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.redhat.com/support/errata/RHSA-2011-0195.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.securityfocus.com/bid/44605 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id?1024797 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- http://www.ubuntu.com/usn/USN-1042-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- http://www.vupen.com/english/advisories/2010/3081 vdb-entryx_refsource_VUPENThird Party Advisory
- http://www.vupen.com/english/advisories/2011/0020 vdb-entryx_refsource_VUPENThird Party Advisory
- http://www.vupen.com/english/advisories/2011/0021 vdb-entryx_refsource_VUPENThird Party Advisory
- http://www.vupen.com/english/advisories/2011/0077 vdb-entryx_refsource_VUPENThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2010-3870 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=649056 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2010-3870
- https://www.cve.org/CVERecord?id=CVE-2010-3870
Change history (0)
No recorded changes yet.