Live threats

All CVEs / Libexpat Project

CVE-2012-0876Libexpat Project Libexpat

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
5.7%
probability of exploitation in 30 days · percentile 94
Auth required
No
Published
Jul 3, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
Vector
AV:N/AC:M/Au:N/C:N/I:N/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libexpat.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libexpat_projectlibexpat< 2.1.0
pythonpython≥ 2.6.0 < 2.6.8
pythonpython≥ 2.7.0 < 2.7.3
pythonpython≥ 3.1.0 < 3.1.5
pythonpython≥ 3.2.0 < 3.2.3
debiandebian_linux6.0
debiandebian_linux7.0
canonicalubuntu_linux8.04
canonicalubuntu_linux10.04
canonicalubuntu_linux11.04
canonicalubuntu_linux11.10
canonicalubuntu_linux12.04
oraclesolaris11.3
redhatstorage2.0
redhatenterprise_linux_desktop5.0
redhatenterprise_linux_desktop6.0
redhatenterprise_linux_eus6.2
redhatenterprise_linux_server5.0
redhatenterprise_linux_server6.0
redhatenterprise_linux_server_aus6.2
redhatenterprise_linux_workstation5.0
redhatenterprise_linux_workstation6.0

Official sources

References

Links published by the sources. Open them with care.