Home / Apache / Xerces2 Java / CVE-2012-0881
CVE-2012-0881: is it exploited, and which versions of Apache Xerces2 Java are affected and fixed?
CVE-2012-0881 is a denial of service (uncontrolled resource consumption) vulnerability in Apache Xerces2 Java. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: xerces:xercesImpl before 2.12.0 (GitHub advisory GHSA-vmqm-g3vh-847m). Fixed in 2.12.0 (GitHub advisory GHSA-vmqm-g3vh-847m). Severity: High (7.5, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:37 UTC.
What is CVE-2012-0881?
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.
From the CVE record by redhat, last updated August 6, 2024, 18:38 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | xerces:xercesImpl | < 2.12.0 | 2.12.0 | GHSA-vmqm-g3vh-847m |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 22, 2021. Summary: Denial of service in Apache Xerces2.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | xerces2 java | through 2.11.0 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:38 UTC.
How severe is CVE-2012-0881?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| High 7.8 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-0881 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 17.8% probability of exploitation activity in the next 30 days, percentile 97.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- [j-users] 20180503 [ANNOUNCEMENT]: Apache Xerces-J 2.12.0 now available mailing-list, x_refsource_MLIST
- [oss-security] 20140708 Summer bug cleaning - some Hash DoS stuff mailing-list, x_refsource_MLIST
- [lucene-solr-user] 20190104 Re: SOLR v7 Security Issues Caused Denial of Use - Sonatype Application Composition Report mailing-list, x_refsource_MLIST
- [drill-dev] 20191017 Dependencies used by Drill contain known vulnerabilities mailing-list, x_refsource_MLIST
- [drill-dev] 20191021 [jira] [Created] (DRILL-7416) Updates required to dependencies to resolve potential security vulnerabilities mailing-list, x_refsource_MLIST
- [drill-issues] 20191021 [jira] [Created] (DRILL-7416) Updates required to dependencies to resolve potential security vulnerabilities mailing-list, x_refsource_MLIST
- [lucene-solr-user] 20200320 CVEs (vulnerabilities) that apply to Solr 8.4.1 mailing-list, x_refsource_MLIST
- https://issues.apache.org/jira/browse/XERCESJ-1685 x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=787104 x_refsource_CONFIRM
- https://www.oracle.com//security-alerts/cpujul2021.html x_refsource_MISC
- [hadoop-common-issues] 20210928 [GitHub] [hadoop] warrenzhu25 opened a new pull request #3496: HADOOP-17941. Update xerces to 2.12 mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- January 19, 2012
- Published
- October 30, 2017, 16:00 UTC
- CVE record updated
- August 6, 2024, 18:38 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:38 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:37 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Xerces2 Java?
- Jul 23, 2013CVE-2013-4002 Ibm Java: missing XML Validation
- Aug 6, 2009CVE-2009-2625 Oracle Jdk: n/a
Questions about CVE-2012-0881
Is CVE-2012-0881 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 17.8% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Xerces2 Java are affected by CVE-2012-0881?
xerces:xercesImpl before 2.12.0, per the GitHub advisory GHSA-vmqm-g3vh-847m. The tables above give every range the sources list.
Which version fixes CVE-2012-0881?
2.12.0, per the GitHub advisory GHSA-vmqm-g3vh-847m. Check the vendor's advisory before you rely on it.
How severe is CVE-2012-0881?
High (7.5, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-0881?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.