Back
CVE-2008-5557
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…
High10.0EPSS 7.4%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 7.4% · top 5.6% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 10.0.
Weakness
Affected products
n/a
- affected n/a
References (29)
- HPSBUX02465 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://support.apple.com/kb/HT3549 (opens in a new tab)x_refsource_CONFIRMx_transferred
- SSRT090085 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/libmbfl/filters/mbfilter_htmlent.c?r1=1.7&r2=1.8 (opens in a new tab)x_refsource_CONFIRMx_transferred
- FEDORA-2009-3768 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- 20090302 rPSA-2009-0035-1 php php-cgi php-imap php-mcrypt php-mysql php-mysqli php-pgsql php-soap php-xsl php5 php5-cgi php5-imap php5-mcrypt php5-mysql php5-mysqli php5-pear php5-pgsql php5-soap php5-xsl (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 20081221 CVE-2008-5557 - PHP mbstring buffer overflow (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- http://wiki.rpath.com/Advisories:rPSA-2009-0035 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 34642 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 1021482 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 35074 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- HPSBMA02492 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- APPLE-SA-2009-05-12 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- SUSE-SR:2009:004 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- SUSE-SR:2009:008 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- RHSA-2009:0350 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- FEDORA-2009-3848 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- 35003 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.php.net/ChangeLog-5.php#5.2.7 (opens in a new tab)x_refsource_CONFIRMx_transferred
- TA09-133A (opens in a new tab)third-party-advisoryx_refsource_CERTx_transferred
- php-multibyte-bo(47525) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- MDVSA-2009:045 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- ADV-2009-1297 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- http://bugs.php.net/bug.php?id=45722 (opens in a new tab)x_refsource_CONFIRMx_transferred
- oval:org.mitre.oval:def:10286 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 35306 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 35650 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 32948 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- DSA-1789 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2008-5557)Record last updated .