CVE-2008-5557 Memory corruption in n/a
Heap-based buffer overflow in PHP mbstring allows remote attackers to execute arbitrary code via crafted HTML entities during Unicode conversion.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2008-5557?
CVE-2008-5557 is a critical memory corruption vulnerability in Php Php, published on 23 Dec 2008. It can be exploited over the network, with no action from the victim.
Official 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.
Weakness: CWE-119
Which versions are affected by CVE-2008-5557?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2008-5557?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2008-5557 being exploited?
There is no known exploitation of CVE-2008-5557 in the wild and no public exploit code.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-frch-4gjp-rjjv.