Live threats

All CVEs / Php

CVE-2008-5557Php

Critical 10.0 No auth needed

Priority
76
CVSS 2.0
10.0
EPSS
7.4%
probability of exploitation in 30 days · percentile 95
Auth required
No
Published
Dec 23, 2008
Updated
Jun 16, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-119
Vector
AV:N/AC:L/Au:N/C:C/I:C/A:C

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp4.3.0
phpphp4.3.1
phpphp4.3.2
phpphp4.3.3
phpphp4.3.4
phpphp4.3.5
phpphp4.3.6
phpphp4.3.7
phpphp4.3.8
phpphp4.3.9
phpphp4.3.10
phpphp4.3.11
phpphp4.4.0
phpphp4.4.1
phpphp4.4.2
phpphp4.4.3
phpphp4.4.4
phpphp4.4.5
phpphp4.4.6
phpphp4.4.7
phpphp4.4.8
phpphp4.4.9
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.1
phpphp5.0.2
phpphp5.0.3
phpphp5.0.4
phpphp5.0.5
phpphp5.1.0
phpphp5.1.1
phpphp5.1.2
phpphp5.1.3
phpphp5.1.4
phpphp5.1.5
phpphp5.1.6
phpphp5.2.0
phpphp5.2.1
phpphp5.2.2
phpphp5.2.3
phpphp5.2.4
phpphp5.2.5
phpphp5.2.6

Official sources

References

Links published by the sources. Open them with care.