CVEvulnerability
CVE-2008-5557
10.0 HIGH
Official page ↗
- Status
- Modified
- Published
- 2008-12-23
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 10.0 HIGH — AV:N/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-119
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.
Affected configurations
• php php 4.3.0
• php php 4.3.1
• php php 4.3.2
• php php 4.3.3
• php php 4.3.4
• php php 4.3.5
• php php 4.3.6
• php php 4.3.7
• php php 4.3.8
• php php 4.3.9
• php php 4.3.10
• php php 4.3.11
• php php 4.4.0
• php php 4.4.1
• php php 4.4.2
• php php 4.4.3
• php php 4.4.4
• php php 4.4.5
• php php 4.4.6
• php php 4.4.7
• php php 4.4.8
• php php 4.4.9
• php php 5.0.0
• php php 5.0.1
• php php 5.0.2
• php php 5.0.3
• php php 5.0.4
• php php 5.0.5
• php php 5.1.0
• php php 5.1.1
• php php 5.1.2
• php php 5.1.3
• php php 5.1.4
• php php 5.1.5
• php php 5.1.6
• php php 5.2.0
• php php 5.2.1
• php php 5.2.2
• php php 5.2.3
• php php 5.2.4
• php php 5.2.5
• php php 5.2.6
Related
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- http://archives.neohapsis.com/archives/fulldisclosure/2008-12/0477.html archives.neohapsis.com
- http://bugs.php.net/bug.php?id=45722 Exploit
- http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/libmbfl/filters/mbfilter_htmlent.c?r1=1.7&r2=1.8 Exploit
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02029444 h20000.www2.hp.com
- http://lists.apple.com/archives/security-announce/2009/May/msg00002.html lists.apple.com
- http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html lists.opensuse.org
- http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html lists.opensuse.org
- http://marc.info/?l=bugtraq&m=124654546101607&w=2 marc.info
- http://marc.info/?l=bugtraq&m=125631037611762&w=2 marc.info
- http://secunia.com/advisories/34642 secunia.com
- http://secunia.com/advisories/35003 secunia.com
- http://secunia.com/advisories/35074 secunia.com
- http://secunia.com/advisories/35306 secunia.com
- http://secunia.com/advisories/35650 secunia.com
- http://securitytracker.com/id?1021482 securitytracker.com
- http://support.apple.com/kb/HT3549 support.apple.com
- http://wiki.rpath.com/Advisories:rPSA-2009-0035 wiki.rpath.com
- http://www.debian.org/security/2009/dsa-1789 www.debian.org
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:045 www.mandriva.com
- http://www.php.net/ChangeLog-5.php#5.2.7 www.php.net
- http://www.redhat.com/support/errata/RHSA-2009-0350.html www.redhat.com
- http://www.securityfocus.com/archive/1/501376/100/0/threaded www.securityfocus.com
- http://www.securityfocus.com/bid/32948 www.securityfocus.com
- http://www.us-cert.gov/cas/techalerts/TA09-133A.html US Government Resource
- http://www.vupen.com/english/advisories/2009/1297 www.vupen.com
- https://exchange.xforce.ibmcloud.com/vulnerabilities/47525 exchange.xforce.ibmcloud.com
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10286 oval.cisecurity.org
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01451.html www.redhat.com
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01465.html www.redhat.com
- http://archives.neohapsis.com/archives/fulldisclosure/2008-12/0477.html archives.neohapsis.com
- http://bugs.php.net/bug.php?id=45722 Exploit
- http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/libmbfl/filters/mbfilter_htmlent.c?r1=1.7&r2=1.8 Exploit
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02029444 h20000.www2.hp.com
- http://lists.apple.com/archives/security-announce/2009/May/msg00002.html lists.apple.com
- http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html lists.opensuse.org
- http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html lists.opensuse.org
- http://marc.info/?l=bugtraq&m=124654546101607&w=2 marc.info
- http://marc.info/?l=bugtraq&m=125631037611762&w=2 marc.info
- http://secunia.com/advisories/34642 secunia.com
- http://secunia.com/advisories/35003 secunia.com
- http://secunia.com/advisories/35074 secunia.com
- http://secunia.com/advisories/35306 secunia.com
- http://secunia.com/advisories/35650 secunia.com
- http://securitytracker.com/id?1021482 securitytracker.com
- http://support.apple.com/kb/HT3549 support.apple.com
- http://wiki.rpath.com/Advisories:rPSA-2009-0035 wiki.rpath.com
- http://www.debian.org/security/2009/dsa-1789 www.debian.org
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:045 www.mandriva.com
- http://www.php.net/ChangeLog-5.php#5.2.7 www.php.net
- http://www.redhat.com/support/errata/RHSA-2009-0350.html www.redhat.com
- http://www.securityfocus.com/archive/1/501376/100/0/threaded www.securityfocus.com
- http://www.securityfocus.com/bid/32948 www.securityfocus.com
- http://www.us-cert.gov/cas/techalerts/TA09-133A.html US Government Resource
- http://www.vupen.com/english/advisories/2009/1297 www.vupen.com
- https://exchange.xforce.ibmcloud.com/vulnerabilities/47525 exchange.xforce.ibmcloud.com
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10286 oval.cisecurity.org
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01451.html www.redhat.com
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01465.html www.redhat.com