Resource management error in expat - CVE-2012-0876

 

Resource management error in expat - CVE-2012-0876

Published: July 3, 2012 / Updated: August 3, 2020


Vulnerability identifier: #VU33114
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2012-0876
CWE-ID: CWE-399
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: libexpat.org
Affected software:
expat

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

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.


How to mitigate CVE-2012-0876

Install update from vendor's website.

Sources