cve.bz

CVE-2012-0876 Uncontrolled Resource Consumption

no score yetEPSS 5.7%

No CVSS score yet. EPSS 5.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
5.7% (unchanged from 5.7% a week ago; 5.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2012-0876 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-0876?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-0876?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-0876 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libexpat_project:libexpatbefore 2.1.0
python:pythonfrom 2.6.0 before 2.6.8
python:pythonfrom 2.7.0 before 2.7.3
python:pythonfrom 3.1.0 before 3.1.5
python:pythonfrom 3.2.0 before 3.2.3
debian:debian_linux6.0
debian:debian_linux7.0
canonical:ubuntu_linux8.04
canonical:ubuntu_linux10.04
canonical:ubuntu_linux11.04
canonical:ubuntu_linux11.10
canonical:ubuntu_linux12.04
oracle:solaris11.3
redhat:storage2.0
redhat:enterprise_linux_desktop5.0
redhat:enterprise_linux_desktop6.0
redhat:enterprise_linux_eus6.2
redhat:enterprise_linux_server5.0
redhat:enterprise_linux_server6.0
redhat:enterprise_linux_server_aus6.2
redhat:enterprise_linux_workstation5.0
redhat:enterprise_linux_workstation6.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0expat2.0.1-7+squeeze1DSA-2525-1
Debian12libxmltokno fix listedDEBIAN-CVE-2012-0876
Debian12, 13, 14expat2.1.0~beta3-1DEBIAN-CVE-2012-0876
Debian12, 13, 14xmlrpc-c1.16.33-3.2DEBIAN-CVE-2012-0876
Ubuntu16.04:LTS, 20.04:LTS, 22.04:LTS and 1 morecadaver, matanzano fix listedUBUNTU-CVE-2012-0876
Ubuntu18.04:LTSvnc4, cadaver, matanzano fix listedUBUNTU-CVE-2012-0876
Ubuntu25.10, 26.10cadaver, matanza, swish-e and 2 moreno fix listedUBUNTU-CVE-2012-0876
Ubuntu26.04:LTScadaver, matanza, paraview and 1 moreno fix listedUBUNTU-CVE-2012-0876
UbuntuPro:14.04:LTSvnc4, coin3no fix listedUBUNTU-CVE-2012-0876
UbuntuPro:16.04:LTSvnc4, ayttm, coin3 and 3 moreno fix listedUBUNTU-CVE-2012-0876
UbuntuPro:18.04:LTScoin3, swish-eno fix listedUBUNTU-CVE-2012-0876
UbuntuPro:20.04:LTS, Pro:22.04:LTS, Pro:24.04:LTS and 1 moreswish-eno fix listedUBUNTU-CVE-2012-0876
Red Hatenterprise_linux:5::clientexpat, expat-debuginfo0:1.95.8-11.el5_8RHSA-2012:0731
Red Hatenterprise_linux:5::client_workstation, enterprise_linux:5::serverexpat, expat-devel, expat-debuginfo0:1.95.8-11.el5_8RHSA-2012:0731
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moreexpat, expat-devel, expat-debuginfo0:2.0.1-11.el6_2RHSA-2012:0731
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Desktop 12 SP4 and 18 morepython33.4.10-25.39.3SUSE-SU-2020:0497-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Desktop 12 SP4 and 18 morepython3-base3.4.10-25.39.2SUSE-SU-2020:0497-1
openSUSETumbleweedexpat2.2.0-3.1openSUSE-SU-2024:10077-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5expat-0:1.95.8-11.el5_8Fixed 2012-06-13RHSA-2012:0731
Red Hat Enterprise Linux 6expat-0:2.0.1-11.el6_2Fixed 2012-06-13RHSA-2012:0731
Red Hat JBoss Core ServicesFixed 2016-12-15RHSA-2016:2957
Red Hat JBoss Enterprise Application Platform 6.4Fixed 2017-11-16RHSA-2017:3239
Red Hat JBoss Web Server 2.1expatFixed 2016-01-21RHSA-2016:0062
Red Hat Directory Server 8expatAffected
Red Hat Enterprise Linux 4expatWill not fix
Red Hat Enterprise Linux 5xmlrpc-cWill not fix
Red Hat Enterprise Linux 6compat-expat1Will not fix
Red Hat Enterprise Linux 6mingw32-expatAffected
Red Hat JBoss Enterprise Application Platform 6expatAffected
Red Hat JBoss Enterprise Web Server 3expatAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2012-0876.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON