CVE-2012-0876
Reported by redhat · Published July 3, 2012
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| debian/python-3.11 | debian | 3.6.2-rc2, 3.5.4-rc1, 3.4.7-rc1, 3.3.7-rc1, 2.7.14-rc1 |
| debian/python-3.10 | debian | 3.6.2-rc2, 3.5.4-rc1, 3.4.7-rc1, 3.3.7-rc1, 2.7.14-rc1 |
| libexpat | libexpat_project | 2.1.0 |
| alpine/python-3.12 | alpine | 3.6.2-rc2, 3.5.4-rc1, 3.4.7-rc1, 3.3.7-rc1, 2.7.14-rc1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Jun 19, 2012 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Jan 20, 2026 CVE Updated
- Mar 5, 2026 Distribution Patch (8 in total, the first dated here)
- Mar 5, 2026 Security Advisory (6 in total, the first dated here)
- Oct 28, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2012-0876
vulnetix vdb fixes CVE-2012-0876
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2012-0876/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 49504 third-party-advisoryx_refsource_SECUNIA
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- USN-1527-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_MISC
- x_refsource_CONFIRM
- 51040 third-party-advisoryx_refsource_SECUNIA
- RHSA-2012:0731 vendor-advisoryx_refsource_REDHAT
- 52379 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- RHSA-2016:0062 vendor-advisoryx_refsource_REDHAT
- APPLE-SA-2013-10-22-3 vendor-advisoryx_refsource_APPLE
- APPLE-SA-2015-12-08-3 vendor-advisoryx_refsource_APPLE
- DSA-2525 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- MDVSA-2012:041 vendor-advisoryx_refsource_MANDRIVA
- RHSA-2016:2957 vendor-advisoryx_refsource_REDHAT
- USN-1613-2 vendor-advisoryx_refsource_UBUNTU
- [Expat-discuss] 20120304 Announcement: Expat 2.1.0 Beta can be tested mailing-listx_refsource_MLIST
- 51024 third-party-advisoryx_refsource_SECUNIA
…and 2 more