CVE-2008-5557

Summary

CVECVE-2008-5557
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2008-12-23 18:30:03 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionHeap-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.

Risk And Classification

Primary CVSS: v2.0 10 from [email protected]

AV:N/AC:L/Au:N/C:C/I:C/A:C

Problem Types: CWE-119 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:N/AC:L/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Php Php 4.3.0 All All All
Application Php Php 4.3.1 All All All
Application Php Php 4.3.10 All All All
Application Php Php 4.3.11 All All All
Application Php Php 4.3.2 All All All
Application Php Php 4.3.3 All All All
Application Php Php 4.3.4 All All All
Application Php Php 4.3.5 All All All
Application Php Php 4.3.6 All All All
Application Php Php 4.3.7 All All All
Application Php Php 4.3.8 All All All
Application Php Php 4.3.9 All All All
Application Php Php 4.4.0 All All All
Application Php Php 4.4.1 All All All
Application Php Php 4.4.2 All All All
Application Php Php 4.4.3 All All All
Application Php Php 4.4.4 All All All
Application Php Php 4.4.5 All All All
Application Php Php 4.4.6 All All All
Application Php Php 4.4.7 All All All
Application Php Php 4.4.8 All All All
Application Php Php 4.4.9 All All All
Application Php Php 5.0.0 All All All
Application Php Php 5.0.0 beta1 All All
Application Php Php 5.0.0 beta2 All All
Application Php Php 5.0.0 beta3 All All
Application Php Php 5.0.0 beta4 All All
Application Php Php 5.0.0 rc1 All All
Application Php Php 5.0.0 rc2 All All
Application Php Php 5.0.0 rc3 All All
Application Php Php 5.0.1 All All All
Application Php Php 5.0.2 All All All
Application Php Php 5.0.3 All All All
Application Php Php 5.0.4 All All All
Application Php Php 5.0.5 All All All
Application Php Php 5.1.0 All All All
Application Php Php 5.1.1 All All All
Application Php Php 5.1.2 All All All
Application Php Php 5.1.3 All All All
Application Php Php 5.1.4 All All All
Application Php Php 5.1.5 All All All
Application Php Php 5.1.6 All All All
Application Php Php 5.2.0 All All All
Application Php Php 5.2.1 All All All
Application Php Php 5.2.2 All All All
Application Php Php 5.2.3 All All All
Application Php Php 5.2.4 All All All
Application Php Php 5.2.5 All All All
Application Php Php 5.2.6 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Fedora update for php - Advisories - Community af854a3a-2127-422b-91ae-364da2661108 secunia.com
[SECURITY] Fedora 9 Update: maniadrive-1.2-13.fc9 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
PHP :: Bug #45722 :: mb_check_encoding() crashes af854a3a-2127-422b-91ae-364da2661108 bugs.php.net Exploit
APPLE-SA-2009-05-12 Security Update 2009-002 / Mac OS X v10.5.7 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com
About the security content of Security Update 2009-002 / Mac OS X v10.5.7 af854a3a-2127-422b-91ae-364da2661108 support.apple.com
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
cvs.php.net/viewvc.cgi/php-src/ext/mbstring/libmbfl/filters/mbfilter_html... af854a3a-2127-422b-91ae-364da2661108 cvs.php.net Exploit
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
'[security bulletin] HPSBUX02465 SSRT090192 rev.1 - HP-UX Running Apache-based Web Server, Remote Den' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info
[security-announce] SUSE Security Summary Report: SUSE-SR:2009:004 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Apple Mac OS X Security Update Fixes Multiple Vulnerabilities - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
marc.info af854a3a-2127-422b-91ae-364da2661108 marc.info
HPSBMA02492 SSRT100079 rev.1 - HP System Management Homepage (SMH) for Linux and Windows, Remote Cross Site Scripting (XSS), Denial of Service (DoS), Execution of Arbitrary Code, Unauthorized Access - c02029444 - HP Business Support Center af854a3a-2127-422b-91ae-364da2661108 h20000.www2.hp.com
PHP 'mbstring' Extension Buffer Overflow Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
SUSE Update for Multiple Packages - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
[SECURITY] Fedora 10 Update: maniadrive-1.2-13.fc10 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Advisories:rPSA-2009-0035 - rPath Wiki af854a3a-2127-422b-91ae-364da2661108 wiki.rpath.com
PHP: PHP 5 ChangeLog af854a3a-2127-422b-91ae-364da2661108 www.php.net
[security-announce] SUSE Security Summary Report: SUSE-SR:2009:008 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
HP-UX Apache Web Server Suite Multiple Vulnerabilities - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
SecurityTracker: PHP Buffer Overflow in Multibyte String Extension May Let Users Execute Arbitrary Code af854a3a-2127-422b-91ae-364da2661108 securitytracker.com
Security Advisories | Mandriva Linux af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Debian update for php5 - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
NEOHAPSIS - Peace of Mind Through Integrity and Insight af854a3a-2127-422b-91ae-364da2661108 archives.neohapsis.com
US-CERT Technical Cyber Security Alert TA09-133A -- Apple Updates for Multiple Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.us-cert.gov US Government Resource
Debian -- Security Information -- DSA-1789-1 php5 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report