{"id":"CVE-2008-5557","published":"2008-12-23T18:13:00Z","modified":"2024-08-07T10:56:47Z","title":"Heap-based buffer overflow in ext/mbstring/libmbfl/filters/mbfilter_htmlent.c in the mbstring extension in PHP 4.3.0…","vendor":null,"product":null,"tier":"tail","description":{"text":"Heap-based buffer overflow in ext/mbstring/libmbfl/filters/mbfilter_htmlent.c in the mbstring extension in PHP 4.3.0 through 5.2.6 allows context-dependent attackers to execute arbitrary code via a crafted string containing an HTML entity, which is not properly handled during Unicode conversion, related to the (1) mb_convert_encoding, (2) mb_check_encoding, (3) mb_convert_variables, and (4) mb_parse_str functions.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.07371,"percentile":0.94556,"provenance":"source"},"cwes":[],"references":[{"url":"http://marc.info/?l=bugtraq&m=125631037611762&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://support.apple.com/kb/HT3549","tags":["x_refsource_CONFIRM"]},{"url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/libmbfl/filters/mbfilter_htmlent.c?r1=1.7&r2=1.8","tags":["x_refsource_CONFIRM"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01451.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.securityfocus.com/archive/1/501376/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://archives.neohapsis.com/archives/fulldisclosure/2008-12/0477.html","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://wiki.rpath.com/Advisories:rPSA-2009-0035","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/34642","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://securitytracker.com/id?1021482","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://secunia.com/advisories/35074","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02029444","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://lists.apple.com/archives/security-announce/2009/May/msg00002.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.redhat.com/support/errata/RHSA-2009-0350.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01465.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://secunia.com/advisories/35003","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.php.net/ChangeLog-5.php#5.2.7","tags":["x_refsource_CONFIRM"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA09-133A.html","tags":["third-party-advisory","x_refsource_CERT"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/47525","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:045","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://www.vupen.com/english/advisories/2009/1297","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://bugs.php.net/bug.php?id=45722","tags":["x_refsource_CONFIRM"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10286","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://secunia.com/advisories/35306","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/35650","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/32948","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.debian.org/security/2009/dsa-1789","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"priority":{"score":18.9,"factors":[{"name":"EPSS percentile","points":18.91}]},"summary":{"text":"A heap-based buffer overflow in the HTML entity filter (ext/mbstring/libmbfl/filters/mbfilter_htmlent.c) of the PHP mbstring extension, affecting PHP 4.3.0 through 5.2.6, is triggered during Unicode conversion of HTML entities. An attacker who can supply a crafted string to the mb_convert_encoding, mb_check_encoding, mb_convert_variables, or mb_parse_str functions can execute arbitrary code, provided the vulnerable code path is reached in that context.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:55:40Z"},"euvd":{"id":"EUVD-2008-5532","exploited":false,"provenance":"source"}}