CVE-2012-0881
High · 7.5CVSS
7.5
EPSS
17.5%
Published
Oct 30, 2017
CISA due date
—
Cloudanix analysis
Attackers can send specially made data to certain software and make servers work so hard they become unavailable to users.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw permits remote attackers to trigger hash table collisions in the XML parser through specially crafted messages, resulting in excessive CPU consumption and denial of service.
Why it matters to the business
Service availability can be disrupted across applications relying on the vulnerable parser component, which appears in 98 downstream dependents and can lead to operational downtime without requiring authentication.
How an attack unfolds
An attacker identifies an exposed XML service that uses the vulnerable parser, crafts a message designed to induce hash collisions, and transmits it over the network to exhaust CPU resources on the target system.
How to fix it
Upgrade Apache Xerces2 Java Parser to version 2.12.0 or later. For tensorflow (Bitnami) deployments, upgrade to version 2.1.4 which incorporates the fix.
How to confirm the fix worked
Inventory parser versions in use across environments and verify that deployed instances meet or exceed the fixed release; test XML processing endpoints under load with known benign inputs to confirm absence of disproportionate CPU spikes.
Typical attack path
- Locate services exposing XML processing that depend on the affected parser
- Generate a crafted XML payload engineered to cause hash table collisions
- Transmit the payload to the service endpoint to induce high CPU load
- Repeat or sustain the traffic to maintain denial of service conditions
How to detect it
Review application and system logs for sudden spikes in CPU usage tied to XML parsing activity, and inspect network traffic or request logs for unusually structured or repetitive XML payloads arriving from external sources.
What your security team should do
- Apply the listed upgrades to affected products immediately
- Scan dependency trees for any remaining instances of the vulnerable parser
- Implement input validation and rate limiting on XML endpoints as a temporary control
The record
Apache Xerces2 Java Parser before 2.12.0 allows remote attackers to cause a denial of service (CPU consumption) via a crafted message to an XML service, which triggers hash table collisions.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Maven | xerces:xercesImpl | 0 | 2.12.0 |
| Debian:10 | libxerces2-java | 0 | No fix |
| Debian:11 | libxerces2-java | 0 | No fix |
| Debian:12 | libxerces2-java | 0 | No fix |
| Debian:13 | libxerces2-java | 0 | No fix |
| Ubuntu:14.04:LTS | libxerces2-java | 0 | No fix |
| Ubuntu:16.04:LTS | libxerces2-java | 0 | No fix |
| Ubuntu:18.04:LTS | libxerces2-java | 0 | No fix |
| Ubuntu:20.04:LTS | libxerces2-java | 0 | No fix |
| Ubuntu:22.04:LTS | libxerces2-java | 0 | No fix |
| Ubuntu:24.04:LTS | libxerces2-java | 0 | No fix |
| Ubuntu:24.10 | libxerces2-java | 0 | No fix |
| Ubuntu:25.04 | libxerces2-java | 0 | No fix |
| Ubuntu:25.10 | libxerces2-java | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | libxerces2-java | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | libxerces2-java | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | libxerces2-java | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | libxerces2-java | 0 | No fix |
Related vulnerabilities
- CVE-2022-23437 There's a vulnerability within the Apache Xerces Java (XercesJ) XML parser when handling… Also affects xerces:xercesImpl
- CVE-2020-14338 A flaw was found in Wildfly's implementation of Xerces, specifically in the way the… Also affects xerces:xercesImpl
- CVE-2013-4002 XMLscanner.java in Apache Xerces2 Java Parser before 2.12.0, as used in the Java Runtime… Also affects xerces:xercesImpl
- CVE-2009-2625 XMLScanner.java in Apache Xerces2 Java, as used in Sun Java Runtime Environment (JRE) in… Also affects xerces:xercesImpl
- CVE-2026-41983 Null pointer dereference vulnerability in the browser module. Impact: Successful… CWE-399
- CVE-2019-13648 In the Linux kernel through 5.2.1 on the powerpc platform, when hardware transactional… CWE-399
- CVE-2015-9252 An issue was discovered in QPDF before 7.0.0. CWE-399
- CVE-2015-7944 The RESTful control interface (aka RAPI or ganeti-rapi) in Ganeti before 2.9.7, 2.10.x… CWE-399