The XML parser (xmlparse.c) in expat before 2.1.0 computes hash values without…
Priority LOW 29CWE-400Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- Partial Red Hat: 12 fixed, 6 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-400.
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.
Why it matters now
EPSS 0.0566 93rd percentileScored 2026-11-07
Fix Partial Red Hat: 4 advisoriesRed Hat: 12 fixed, 6 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 19
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* | before 2.1.0 | Vulnerable | libexpat project |
| cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | 2.6.0 to before 2.6.8; 2.7.0 to before 2.7.3; 3.1.0 to before 3.1.5; 3.2.0 to before 3.2.3 | Vulnerable | python-pillow |
| cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:* | 8.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:* | 10.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:11.04:*:*:*:*:*:*:* | 11.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:11.10:*:*:*:*:*:*:* | 11.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:oracle:solaris:11.3:*:*:*:*:*:*:* | 11.3 | Vulnerable | Oracle |
- cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* Versions before 2.1.0 Vulnerable ·libexpat project
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions 2.6.0 to before 2.6.8; 2.7.0 to before 2.7.3; 3.1.0 to before 3.1.5; 3.2.0 to before 3.2.3 Vulnerable ·python-pillow
- cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:* Versions 8.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:* Versions 10.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:11.04:*:*:*:*:*:*:* Versions 11.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:11.10:*:*:*:*:*:*:* Versions 11.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:oracle:solaris:11.3:*:*:*:*:*:*:* Versions 11.3 Vulnerable ·Oracle
Show 9 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:storage:2.0:*:*:*:*:*:*:* | 2.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_desktop:5.0:*:*:*:*:*:*:* | 5.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:6.2:*:*:*:*:*:*:* | 6.2 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:5.0:*:*:*:*:*:*:* | 5.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:6.2:*:*:*:*:*:*:* | 6.2 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:5.0:*:*:*:*:*:*:* | 5.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
- cpe:2.3:a:redhat:storage:2.0:*:*:*:*:*:*:* Versions 2.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_desktop:5.0:*:*:*:*:*:*:* Versions 5.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:6.2:*:*:*:*:*:*:* Versions 6.2 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:5.0:*:*:*:*:*:*:* Versions 5.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:6.2:*:*:*:*:*:*:* Versions 6.2 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:5.0:*:*:*:*:*:*:* Versions 5.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
Remediation
Red Hat 4 advisories
- RHSA-2017:3239 Released 2017-11-16 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 6.4.18 security update
- Red Hat JBoss Enterprise Application Platform 6.4
- RHSA-2016:2957 Released 2016-12-15 · Red Hat rating ImportantRed Hat JBoss Core Services Apache HTTP 2.4.23 Release
- Red Hat JBoss Core Services
- RHSA-2016:0062 Released 2016-01-21 · Red Hat rating ModerateRed Hat JBoss Web Server 2.1.0 security update
- Red Hat JBoss Web Server 2.1
Show 1 more Red Hat advisories
- RHSA-2012:0731 Released 2012-06-13 · Red Hat rating Moderateexpat security update
- RHEL Desktop Workstation (v. 5 client) expat-1.95.8-11.el5_8, expat-devel-1.95.8-11.el5_8, expat-devel-1.95.8-11.el5_8.i386
- Red Hat Enterprise Linux (v. 5 server) expat-1.95.8-11.el5_8, expat-1.95.8-11.el5_8.i386, expat-1.95.8-11.el5_8.ia64 +5
- Red Hat Enterprise Linux Desktop (v. 5 client) expat-1.95.8-11.el5_8, expat-1.95.8-11.el5_8.i386
- 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, expat-devel-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_2, expat-devel-2.0.1-11.el6_2
- Red Hat Enterprise Linux Server (v. 6) expat-2.0.1-11.el6_2, expat-2.0.1-11.el6_2.ppc, expat-devel-2.0.1-11.el6_2 +1
- Red Hat Enterprise Linux Workstation (v. 6) expat-2.0.1-11.el6_2, expat-devel-2.0.1-11.el6_2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Directory Server 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 4 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix yet |
| Red Hat JBoss Enterprise Application Platform 6 | Affected | No fix yet |
| Red Hat JBoss Enterprise Web Server 3 | Affected | No fix yet |
| RHEL Desktop Workstation (v. 5 client) | Fixed | RHSA-2012:0731 |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2012:0731 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2012:0731 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2012:0731 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2012:0731 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2012:0731 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2012:0731 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2012:0731 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2012:0731 |
| Red Hat JBoss Core Services | Fixed | RHSA-2016:2957 |
| Red Hat JBoss Enterprise Application Platform 6.4 | Fixed | RHSA-2017:3239 |
| Red Hat JBoss Web Server 2.1 | Fixed | RHSA-2016:0062 |
Timeline
- 2026-10-02 Threatist record created from CVE-2012-0876
- 2026-10-03 Alias added: GHSA-q8w9-7fww-v592
References
Advisory 16
- http://sourceforge.net/tracker/?func=detail&atid=110127&aid=3496608&group_id=10127
- https://www.tenable.com/security/tns-2016-20
- USN-1527-1
- http://bugs.python.org/issue13703#msg151870
- https://support.apple.com/HT205637
- RHSA-2012:0731
- http://sourceforge.net/projects/expat/files/expat/2.1.0/
- RHSA-2016:0062
- APPLE-SA-2013-10-22-3
- APPLE-SA-2015-12-08-3
- DSA-2525
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- MDVSA-2012:041
- RHSA-2016:2957
- USN-1613-2
- USN-1613-1
Sources
- CVE-2012-0876 · CVE Program
- CVE-2012-0876 · NVD
- FIRST EPSS
- GHSA-q8w9-7fww-v592 · GitHub Advisory Database · CC BY 4.0
- CVE-2012-0876 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences