CVE-2008-5557

NameCVE-2008-5557
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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-1789-1, DTSA-188-1
Debian Bugs511493

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php5 (PTS)jessie, jessie (lts)5.6.40+dfsg-0+deb8u21fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php5sourceetch5.2.0+dfsg-8+etch15DSA-1789-1
php5sourcelenny5.2.6.dfsg.1-1+lenny3DSA-1789-1
php5source(unstable)5.2.6.dfsg.1-1511493

Notes

according to bug report, this was fixed in lenny prior to the release, but was not marked as such at the time

Search for package or bug name: Reporting problems