CVE-2012-0876: Expat XML Parser - Denial of Service
- Cve: CVE-2012-0876
- Name: Expat XML Parser - Denial of Service
- 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.
- Impact: Attackers can cause high CPU usage leading to denial of service, impacting system availability.
- Remediation: Update to version 2.1.0 or later.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:N/A:P
- Epss score: 0.0566
- Epss percentile: 0.93169
- Assignee: [email protected]
- Published at: 2012-07-03T19:55:02Z
- Age in days: 5257
- Modified at: 2026-06-16T23:38:26Z
- Patch available: yes
- References total: 14
- Products total: 11
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-0876
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-400 | Uncontrolled Resource Consumption |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://bugs.python.org/issue13703#msg151870 | Issue Tracking, Third Party Advisory |
| 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://sourceforge.net/projects/expat/files/expat/2.1.0/ | Release Notes, Third 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.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html | Third Party Advisory |
| http://www.securityfocus.com/bid/52379 | Third Party Advisory, VDB Entry |
| http://www.ubuntu.com/usn/USN-1527-1 | Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| debian:debian_linux | = 7.0, = 6.0 | /v1/products/debian/debian_linux |
| canonical:ubuntu_linux | = 12.04, = 11.10, = 11.04, = 10.04, = 8.04 | /v1/products/canonical/ubuntu_linux |
| redhat:enterprise_linux_desktop | = 6.0, = 5.0 | /v1/products/redhat/enterprise_linux_desktop |
| redhat:enterprise_linux_server | = 6.0, = 5.0 | /v1/products/redhat/enterprise_linux_server |
| redhat:enterprise_linux_workstation | = 6.0, = 5.0 | /v1/products/redhat/enterprise_linux_workstation |
| redhat:enterprise_linux_server_aus | = 6.2 | /v1/products/redhat/enterprise_linux_server_aus |
| redhat:enterprise_linux_eus | = 6.2 | /v1/products/redhat/enterprise_linux_eus |
| oracle:solaris | = 11.3 | /v1/products/oracle/solaris |
| python:python | >= 3.2.0, < 3.2.3; >= 3.1.0, < 3.1.5; >= 2.7.0, < 2.7.3; >= 2.6.0, < 2.6.8 | /v1/products/python/python |
| libexpat_project:libexpat | < 2.1.0 | /v1/products/libexpat_project/libexpat |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| python/cpython | fix | yes | /v1/repositories/python/cpython |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 21109361
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports