← Vulnerability feed

Vulnerability record · CVE-2012-0876 · published 3 July 2012

CVE-2012-0876: Libexpat project libexpat uncontrolled resource consumption vulnerability

LLibexpat Project · Libexpat

The XML parser (xmlparse.c) in expat before 2.1.0 computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via an XML file with many identifiers with the same value.

4.3 CVSS 2.0 Medium EPSS 5.7% · top 7.2% CWE-400 · Uncontrolled resource consumption
4.3CVSS 2.0 base score
5.7%EPSS exploitation probability, 30 days
NoNot in CISA KEV
11Affected product versions listed by NVD
44References
16 Jun 2026Last modified by NVD

Description

The XML parser (xmlparse.c) in expat before 2.1.0 computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via an XML file with many identifiers with the same value.

AV:N/AC:M/Au:N/C:N/I:N/A:P

Affected products

11 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://bugs.python.org/issue13703#msg151870 Issue TrackingThird Party Advisory
http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html Broken LinkMailing List
http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html Broken LinkMailing List
http://mail.libexpat.org/pipermail/expat-discuss/2012-March/002768.html Broken Link
http://rhn.redhat.com/errata/RHSA-2012-0731.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0062.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2957.html Third Party Advisory
http://secunia.com/advisories/49504 Not Applicable
http://secunia.com/advisories/51024 Not Applicable
http://secunia.com/advisories/51040 Not Applicable
http://sourceforge.net/projects/expat/files/expat/2.1.0/ Release NotesThird Party Advisory
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=3496608&group_id=10127 Third Party Advisory
http://www.debian.org/security/2012/dsa-2525 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2012:041 Broken Link
http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html Third Party Advisory
http://www.securityfocus.com/bid/52379 Third Party AdvisoryVDB Entry
http://www.ubuntu.com/usn/USN-1527-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-1613-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-1613-2 Third Party Advisory
https://kc.mcafee.com/corporate/index?page=content&id=SB10365 Broken Link
https://support.apple.com/HT205637 Third Party Advisory
https://www.tenable.com/security/tns-2016-20 Third Party Advisory
http://bugs.python.org/issue13703#msg151870 Issue TrackingThird Party Advisory
http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html Broken LinkMailing List
http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html Broken LinkMailing List
http://mail.libexpat.org/pipermail/expat-discuss/2012-March/002768.html Broken Link
http://rhn.redhat.com/errata/RHSA-2012-0731.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0062.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2957.html Third Party Advisory
http://secunia.com/advisories/49504 Not Applicable
http://secunia.com/advisories/51024 Not Applicable
http://secunia.com/advisories/51040 Not Applicable
http://sourceforge.net/projects/expat/files/expat/2.1.0/ Release NotesThird Party Advisory
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=3496608&group_id=10127 Third Party Advisory
http://www.debian.org/security/2012/dsa-2525 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2012:041 Broken Link
http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html Third Party Advisory
http://www.securityfocus.com/bid/52379 Third Party AdvisoryVDB Entry
http://www.ubuntu.com/usn/USN-1527-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-1613-1 Third Party Advisory

Track CVE-2012-0876 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed10.0CVE-2020-14871Oracle Solaris PAM out-of-bounds write allows remote unauthenticated takeoverOracle Solaris 10 and 11 contain an out-of-bounds write (CWE-787) in the Pluggable Authentication Module component, reachable over the network withou…KEVEPSS 80%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed

Source: NIST National Vulnerability Database (record CVE-2012-0876), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.