{"id":"CVE-2010-3870","published":"2010-11-12T20:00:00Z","modified":"2024-08-07T03:26:11Z","title":"The utf8_decode function in PHP before 5.3.4 does not properly handle non-shortest form UTF-8 encoding and ill-formed…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.11281,"percentile":0.96072,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2010/11/02/11","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.vupen.com/english/advisories/2011/0077","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052836.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://secunia.com/advisories/42812","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://marc.info/?l=bugtraq&m=133469208622507&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://www.openwall.com/lists/oss-security/2010/11/02/2","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0195.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.openwall.com/lists/oss-security/2010/11/02/4","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securitytracker.com/id?1024797","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00000.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://bugs.php.net/bug.php?id=49687","tags":["x_refsource_CONFIRM"]},{"url":"http://www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriteXSS-SLIDES.pdf","tags":["x_refsource_MISC"]},{"url":"http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://www.ubuntu.com/usn/USN-1042-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.openwall.com/lists/oss-security/2010/11/02/6","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.redhat.com/support/errata/RHSA-2010-0919.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://bugs.php.net/bug.php?id=48230","tags":["x_refsource_MISC"]},{"url":"http://www.vupen.com/english/advisories/2011/0021","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"http://sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.html","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2010/11/02/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://secunia.com/advisories/42410","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.mandriva.com/en/security/advisories?name=MDVSA-2010:224","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052845.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.openwall.com/lists/oss-security/2010/11/03/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://svn.php.net/viewvc?view=revision&revision=304959","tags":["x_refsource_CONFIRM"]},{"url":"http://www.vupen.com/english/advisories/2011/0020","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.openwall.com/lists/oss-security/2010/11/02/8","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/44605","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://us2.php.net/manual/en/function.utf8-decode.php#83935","tags":["x_refsource_MISC"]},{"url":"http://www.acunetix.com/blog/web-security-articles/security-risks-associated-with-utf8_decode/","tags":["x_refsource_MISC"]},{"url":"http://www.vupen.com/english/advisories/2010/3081","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://support.apple.com/kb/HT4581","tags":["x_refsource_CONFIRM"]}],"priority":{"score":24.2,"factors":[{"name":"EPSS percentile","points":19.21},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2009-05-11"},"first":{"date":"2009-05-11","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/34950"},"provenance":"source"},"summary":{"text":"The utf8_decode function in PHP before version 5.3.4 mishandles non-shortest form UTF-8 encoding and ill-formed subsequences in UTF-8 data. Remote attackers can exploit this by supplying a crafted string to bypass cross-site scripting (XSS) and SQL injection protection mechanisms.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:51:20Z"},"euvd":{"id":"EUVD-2010-3848","exploited":false,"provenance":"source"},"exploits":[{"id":34950,"url":"https://www.exploit-db.com/exploits/34950","title":"PHP 5.3.2 - 'xml_utf8_decode()' UTF-8 Input Validation","date":"2009-05-11","verified":true,"provenance":"source"}]}