CVE-2012-0876

medium
Published 2012-07-03 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
4.3

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

redhat Red Hat Affected 3 releases
VersionStatusFixed in
6.2 Affected โ€”
6.0 Affected โ€”
5.0 Affected โ€”
suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
ubuntu Ubuntu Affected 5 releases
VersionStatusFixed in
12.04 Affected โ€”
11.10 Affected โ€”
11.04 Affected โ€”
10.04 Affected โ€”
8.04 Affected โ€”
debian Debian Mixed 7 releases
VersionStatusFixed in
trixie Fixed 2.1.0~beta3-1
sid Fixed 2.1.0~beta3-1
forky Fixed 2.1.0~beta3-1
bullseye Fixed 2.1.0~beta3-1
bookworm Fixed 2.1.0~beta3-1
7.0 Affected โ€”
6.0 Affected โ€”

Application impact

VendorProductVersionsFixed
libexpat_projectlibexpat{"endExcluding":"2.1.0"}2.1.0
python pythonpython{"startIncluding":"2.6.0","endExcluding":"2.6.8"}2.6.8
redhat redhatstorage2.0

References

CWEs

CWE-400

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.