CVE-2012-0881 is a high-severity (CVSS 7.5) CWE-399 vulnerability in xerces:xercesImpl. EPSS puts its 30-day exploitation probability at 17.0% (97th percentile). A fix is available for xerces:xercesImpl — see the affected versions and patch details below.
Denial of service in Apache Xerces2
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2012-0881 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,738 CVEs with a current EPSS score, this one falls in the 10–50% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
xerces:xercesImplReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
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 | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | xerces:xercesImpl | all versions | 2.12.0xerces:xercesImpl:2.12.0 |
Affected Products
xerces2 javaapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for xerces:xercesImpl, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update xerces:xercesImpl to 2.12.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2012-0881 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is CVE-2012-0881 in your dependencies?
Find it across Maven, including transitive dependencies.