CVE-2012-0876

libexpat < 2.1.0 - Denial of Service via Hash Collision in XML Parser

Title source: llm
STIX 2.1

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.

References (22)

Core 22
Core References
Not Applicable third-party-advisory x_refsource_secunia
http://secunia.com/advisories/49504
Third Party Advisory x_refsource_confirm
https://www.tenable.com/security/tns-2016-20
Third Party Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-1527-1
Issue Tracking, Third Party Advisory x_refsource_misc
http://bugs.python.org/issue13703#msg151870
Third Party Advisory x_refsource_confirm
https://support.apple.com/HT205637
Not Applicable third-party-advisory x_refsource_secunia
http://secunia.com/advisories/51040
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2012-0731.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/52379
Release Notes, Third Party Advisory x_refsource_confirm
http://sourceforge.net/projects/expat/files/expat/2.1.0/
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-0062.html
Broken Link, Mailing List vendor-advisory x_refsource_apple
http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html
Broken Link, Mailing List vendor-advisory x_refsource_apple
http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2012/dsa-2525
Broken Link vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2012:041
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-2957.html
Third Party Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-1613-2
Not Applicable third-party-advisory x_refsource_secunia
http://secunia.com/advisories/51024
Third Party Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-1613-1

Scores

EPSS 0.0031
EPSS Percentile 53.9%

Details

CWE
CWE-400
Status published
Products (19)
canonical/ubuntu_linux 8.04
canonical/ubuntu_linux 10.04
canonical/ubuntu_linux 11.04
canonical/ubuntu_linux 11.10
canonical/ubuntu_linux 12.04
debian/debian_linux 6.0
debian/debian_linux 7.0
libexpat_project/libexpat < 2.1.0
oracle/solaris 11.3
python/python 2.6.0 - 2.6.8
... and 9 more
Published Jul 03, 2012
Tracked Since Feb 18, 2026