CVE-2012-0876 Denial of service in n/a

Medium 4.3 Published Updated

Attackers can cause denial of service via CPU exhaustion by submitting crafted XML files to applications using the vulnerable expat library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2012-0876?

CVE-2012-0876 is a medium-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 3 Jul 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-400

Which versions are affected by CVE-2012-0876?

It affects 11 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Libexpat Project Libexpat, Oracle Solaris, Python Python, Redhat Enterprise Linux Desktop and 5 more.

How do I fix CVE-2012-0876?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2012-0876 being exploited?

There is no known exploitation of CVE-2012-0876 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-0876, GHSA-q8w9-7fww-v592, PSF-2012-4, UBUNTU-CVE-2012-0876.

Is CVE-2012-0876 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free