CVE-2008-5557

Public Exploit

Description

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.

Category

10.0
CVSS
Severity: Critical
CVSS 2.0 •
EPSS 20.90% Top 5%
Vendor Advisory marc.info Vendor Advisory marc.info Vendor Advisory redhat.com Vendor Advisory hp.com Vendor Advisory apple.com Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory mandriva.com Vendor Advisory debian.org
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://marc.info/?l=bugtraq&m=125631037611762&w=2 vendor advisory
http://support.apple.com/kb/HT3549
http://marc.info/?l=bugtraq&m=124654546101607&w=2 vendor advisory
http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/libmbfl/filters/mbfilter_htmlent.c?r1=1.7&r2=1.8 exploit
https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01451.html vendor advisory
http://www.securityfocus.com/archive/1/501376/100/0/threaded mailing list
http://archives.neohapsis.com/archives/fulldisclosure/2008-12/0477.html mailing list
http://wiki.rpath.com/Advisories:rPSA-2009-0035
http://secunia.com/advisories/34642 third party advisory
http://securitytracker.com/id?1021482 vdb entry
http://secunia.com/advisories/35074 third party advisory
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02029444 vendor advisory
http://lists.apple.com/archives/security-announce/2009/May/msg00002.html vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html vendor advisory
http://www.redhat.com/support/errata/RHSA-2009-0350.html vendor advisory
https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01465.html vendor advisory
http://secunia.com/advisories/35003 third party advisory
http://www.php.net/ChangeLog-5.php#5.2.7
http://www.us-cert.gov/cas/techalerts/TA09-133A.html third party advisory us government resource
https://exchange.xforce.ibmcloud.com/vulnerabilities/47525 vdb entry
http://www.mandriva.com/security/advisories?name=MDVSA-2009:045 vendor advisory
http://www.vupen.com/english/advisories/2009/1297 vdb entry
http://bugs.php.net/bug.php?id=45722 exploit
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10286 signature vdb entry
http://secunia.com/advisories/35306 third party advisory
http://secunia.com/advisories/35650 third party advisory
http://www.securityfocus.com/bid/32948 vdb entry
http://www.debian.org/security/2009/dsa-1789 vendor advisory

Frequently Asked Questions

What is the severity of CVE-2008-5557?
CVE-2008-5557 has been scored as a critical severity vulnerability.
How to fix CVE-2008-5557?
To fix CVE-2008-5557, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2008-5557 being actively exploited in the wild?
It is possible that CVE-2008-5557 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~21% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.