CVE-2022-23437 — xercesImpl
MEDIUMCVE-2022-23437 is a medium-severity (CVSS 6.5) CWE-835 vulnerability in xerces:xercesImpl. EPSS puts its 30-day exploitation probability at 11.6% (96th percentile). A fix is available for xerces:xercesImpl — see the affected versions and patch details below.
Infinite Loop in Apache Xerces Java
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2022-23437 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,987 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
There's a vulnerability within the Apache Xerces Java (XercesJ) XML parser when handling specially crafted XML document payloads. This causes, the XercesJ XML parser to wait in an infinite loop, which may sometimes consume system resources for prolonged duration. This vulnerability is present within XercesJ version 2.12.1 and the previous versions.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | xerces:xercesImpl | all versions | 2.12.2xerces:xercesImpl:2.12.2 |
Affected Products
xerces-japacheactive iq unified managernetappagile engineering data managementoracleagile product lifecycle managementoraclebanking deposits and lines of credit servicingoraclebanking party managementoracleDetection & 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.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-23437 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.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat JBoss Enterprise Application Platform | xerces/xercesImpl:2.12.0.SP04-redhat-00001 | RHSA-2022:4922 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 | eap7-xerces-j2-0:2.12.0-3.SP04_redhat_00001.1.el8eap | RHSA-2022:4919 |
| Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 | eap7-xerces-j2-0:2.12.0-3.SP04_redhat_00001.1.el7eap | RHSA-2022:4918 |
| RHPAM 7.13.1 async | xercesImpl | RHSA-2022:6813 |
Frequently Asked Questions
Is CVE-2022-23437 in your dependencies?
Find it across Maven, including transitive dependencies.