Buffer overflow in PHP
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 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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 10.0 (High). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.074 (94.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 94th percentile — 94.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.074 · newest: 0.074 · change: 0.000
Affected products
- PHP — versions 4.3.0, 4.3.1, 4.3.2
Weakness classification (CWE)
References
- marc.info/ (vendor-advisory)
- support.apple.com/kb/HT3549
- marc.info/ (vendor-advisory)
- cvs.php.net/viewvc.cgi/php-src/ext/mbstring/libmbfl/filters/mbfilter_htmlent.c (Exploit)
- www.redhat.com/archives/fedora-package-announce/2009-May/msg01451.html (vendor-advisory)
- www.securityfocus.com/archive/1/501376/100/0/threaded (mailing-list)
- archives.neohapsis.com/archives/fulldisclosure/2008-12/0477.html (mailing-list)
- wiki.rpath.com/Advisories:rPSA-2009-0035
- secunia.com/advisories/34642 (third-party-advisory)
- securitytracker.com/id (vdb-entry)