CVE-2008-5557

PHP 4.3.0-5.2.6 - Heap-Based Buffer Overflow in mbstring HTML Entity Conversion

Title source: llm
STIX 2.1

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.

References (29)

Core 29
Core References
Mailing List vendor-advisory x_refsource_hp
http://marc.info/?l=bugtraq&m=125631037611762&w=2
Vendor Advisory x_refsource_confirm
http://support.apple.com/kb/HT3549
Mailing List vendor-advisory x_refsource_hp
http://marc.info/?l=bugtraq&m=124654546101607&w=2
Vendor Advisory vendor-advisory x_refsource_fedora
https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01451.html
Third Party Advisory mailing-list x_refsource_fulldisc
http://archives.neohapsis.com/archives/fulldisclosure/2008-12/0477.html
Exploit x_refsource_confirm
http://bugs.php.net/bug.php?id=45722
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/501376/100/0/threaded
Third Party Advisory x_refsource_confirm
http://wiki.rpath.com/Advisories:rPSA-2009-0035
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/34642
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1021482
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/35074
Mailing List vendor-advisory x_refsource_apple
http://lists.apple.com/archives/security-announce/2009/May/msg00002.html
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2009-0350.html
Vendor Advisory vendor-advisory x_refsource_fedora
https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01465.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/35003
Vendor Advisory x_refsource_confirm
http://www.php.net/ChangeLog-5.php#5.2.7
US Government Resource third-party-advisory x_refsource_cert
http://www.us-cert.gov/cas/techalerts/TA09-133A.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/47525
Vendor Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2009:045
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2009/1297
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10286
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/35306
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/35650
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/32948
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2009/dsa-1789

Scores

EPSS 0.2970
EPSS Percentile 96.7%

Details

CWE
CWE-119
Status published
Products (42)
php/php 4.3.0
php/php 4.3.1
php/php 4.3.2
php/php 4.3.3
php/php 4.3.4
php/php 4.3.5
php/php 4.3.6
php/php 4.3.7
php/php 4.3.8
php/php 4.3.9
... and 32 more
Published Dec 23, 2008
Tracked Since Feb 18, 2026