CVE-2012-0876 json
The XML parser (xmlparse.c) in expat before 2.1.0 computes hash values without restricting the ability to trigger hash collisions predictab…
published 2012-07-03 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-0901
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.7%
- EPSS 5.7% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libexpat_project libexpat 2.1.0
- python python 2.6.8, 2.7.3, 3.1.5, 3.2.3
- expat Debian 14, Debian 13, Debian 12 2.1.0~beta3-1
- xmlrpc-c Debian 14, Debian 13, Debian 12 1.16.33-3.2
debian advisories DEBIAN-CVE-2012-0876
- expat RHEL 5 1.95.8-11.el5_8
- expat RHEL 6 2.0.1-11.el6_2
red hat advisories RHSA-2012:0731
- python3 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +18 more 3.4.10-25.39.3
- python3-base SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +18 more 3.4.10-25.39.2
suse advisories SUSE-SU-2020:0497-1
- expat openSUSE Tumbleweed 2.2.0-3.1
opensuse advisories openSUSE-SU-2024:10077-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-0876 updated cvss 5.0
expat: hash table collisions CPU usage DoS
-
Red Hat Directory Server 8 expataffected: no fix available
-
Red Hat Enterprise Linux 4 expat Red Hat Enterprise Linux 5 xmlrpc-caffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 6 compat-expat1, mingw32-expataffected: no fix available, no fix planned “Will not fix”
-
Red Hat JBoss Enterprise Application Platform 6 expat Red Hat JBoss Enterprise Web Server 3 expataffected: no fix available
-
Red Hat Enterprise Linux (v. 5 server) expat 1.95.8-11.el5_8 Red Hat Enterprise Linux Desktop (v. 5 client) expat 1.95.8-11.el5_8 Red Hat Enterprise Linux Desktop (v. 6) expat 2.0.1-11.el6_2 Red Hat Enterprise Linux Desktop Optional (v. 6) expat 2.0.1-11.el6_2 Red Hat Enterprise Linux HPC Node (v. 6) expat 2.0.1-11.el6_2 Red Hat Enterprise Linux HPC Node Optional (v. 6) expat 2.0.1-11.el6_2fixed: vendor fix RHSA-2012:0731
+2 more productsfewer
Red Hat Enterprise Linux Server (v. 6) expat 2.0.1-11.el6_2 Red Hat Enterprise Linux Workstation (v. 6) expat 2.0.1-11.el6_2 -
Red Hat JBoss Core Servicesfixed: vendor fix RHSA-2016:2957
-
Red Hat JBoss Enterprise Application Platform 6.4fixed: vendor fix RHSA-2017:3239
-
Red Hat JBoss Web Server 2.1fixed: vendor fix RHSA-2016:0062
show 1 moreshow fewer
-
Red Hat RHEL Desktop Workstation (v. 5 client) expat 1.95.8-11.el5_8fixed: vendor fix RHSA-2012:0731
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
5.66% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
ubuntu.com
/usn/USN-1527-1
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2012-0731.html
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2016-0062.html
vendor-advisory, third-party-advisory
-
lists.apple.com
/archives/security-announce/2013/Oct/msg00004.html
vendor-advisory, broken-link, mailing-list
-
lists.apple.com
/archives/security-announce/2015/Dec/msg00005.html
vendor-advisory, broken-link, mailing-list
-
debian.org
/security/2012/dsa-2525
vendor-advisory, third-party-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2012:041
vendor-advisory, broken-link
-
rhn.redhat.com
/errata/RHSA-2016-2957.html
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-1613-2
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-1613-1
vendor-advisory, third-party-advisory
-
secunia.com
/advisories/49504
third-party-advisory, not-applicable
-
sourceforge.net
/tracker/?func=detail&atid=110127&aid=3496608&group_id=10127
third-party-advisory
-
tenable.com
/security/tns-2016-20
third-party-advisory
-
bugs.python.org
/issue13703#msg151870
issue-tracking, third-party-advisory
-
support.apple.com
/HT205637
third-party-advisory
-
secunia.com
/advisories/51040
third-party-advisory, not-applicable
-
securityfocus.com
/bid/52379
vdb-entry, third-party-advisory
-
sourceforge.net
/projects/expat/files/expat/2.1.0/
release-notes, third-party-advisory
-
oracle.com
/technetwork/topics/security/bulletinjul2016-3090568.html
third-party-advisory
-
mail.libexpat.org
/pipermail/expat-discuss/2012-March/002768.html
mailing-list, broken-link
-
secunia.com
/advisories/51024
third-party-advisory, not-applicable
-
kc.mcafee.com
/corporate/index?page=content&id=SB10365
broken-link
Sources
- CVE List CVE-2012-0876
- NVD CVE-2012-0876
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.