CVE-2012-0876

Summary

CVECVE-2012-0876
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2012-07-03 19:55:02 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 4.3 from [email protected]

AV:N/AC:M/Au:N/C:N/I:N/A:P

Problem Types: CWE-400 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
None
Availability
Partial

AV:N/AC:M/Au:N/C:N/I:N/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Libexpat Project Libexpat All All All All
Application Python Python All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
USN-1613-2: Python 2.4 vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Third Party Advisory
About the security content of OS X El Capitan 10.11.2, Security Update 2015-005 Yosemite, and Security Update 2015-008 Mavericks - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com Third Party Advisory
[Expat-discuss] Announcement: Expat 2.1.0 Beta can be tested af854a3a-2127-422b-91ae-364da2661108 mail.libexpat.org Broken Link
Security Alerts - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Not Applicable
Security Bulletin - Policy Auditor update fixes multiple vulnerabilities in third-party libraries (CVE-2016-0718, CVE-2016-4472, CVE-2016-5300, CVE-2017-17740, CVE-2017-9287, CVE-2019-13057, CVE-2020-15719, CVE-2019-1543, CVE-2019-1547, CVE-2019-1552, CVE-2019-1563, CVE-2019-8457, CVE-2018-20506, CVE-2018-20346, CVE-2019-16168, CVE-2017-12627) af854a3a-2127-422b-91ae-364da2661108 kc.mcafee.com Broken Link
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Third Party Advisory
Support / Security / Advisories / / MDVSA-2012:041 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Broken Link
USN-1613-1: Python 2.5 vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Third Party Advisory
Expat XML Parser / Bugs / #496 CVE-2012-0876 - Hash DOS attack af854a3a-2127-422b-91ae-364da2661108 sourceforge.net Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Third Party Advisory
Security Advisory SA51024 - Ubuntu update for python2.5 - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Not Applicable
Security Advisory SA51040 - Ubuntu update for python2.4 - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Not Applicable
Expat XML Parsing Multiple Remote Denial of Service Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Debian -- Security Information -- DSA-2525-1 expat af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
APPLE-SA-2013-10-22-3 OS X Mavericks v10.9 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com Broken Link, Mailing List
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Third Party Advisory
USN-1527-1: Expat vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Third Party Advisory
Oracle Solaris Bulletin - July 2016 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Third Party Advisory
Expat XML Parser - Browse /expat/2.1.0 at SourceForge.net af854a3a-2127-422b-91ae-364da2661108 sourceforge.net Release Notes, Third Party Advisory
[R2] PVS 5.2.0 Fixes Multiple Third-party Library Vulnerabilities - Security Advisory | Tenable Network Security af854a3a-2127-422b-91ae-364da2661108 www.tenable.com Third Party Advisory
Issue 13703: Hash collision security issue - Python tracker af854a3a-2127-422b-91ae-364da2661108 bugs.python.org Issue Tracking, Third Party Advisory
APPLE-SA-2015-12-08-3 OS X El Capitan 10.11.2 and Security Update 2015-008 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com Broken Link, Mailing List
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report