CVE-2020-14338 — xercesImpl
MEDIUMCVE-2020-14338 is a medium-severity (CVSS 5.3) Improper Input Validation vulnerability in xerces:xercesImpl. A fix is available for xerces:xercesImpl — see the affected versions and patch details below.
Improper Input Validation in Xerces
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2020-14338 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% 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
A flaw was found in Wildfly's implementation of Xerces, specifically in the way the XMLSchemaValidator class in the JAXP component of Wildfly enforced the "use-grammar-pool-only" feature. This flaw allows a specially-crafted XML file to manipulate the validation process in certain cases. This issue is the same flaw as CVE-2020-14621, which affected OpenJDK, and uses a similar code. This flaw affects all Xerces JBoss versions before 2.12.0.SP3.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | xerces:xercesImpl | all versions | 2.12.0.sp3xerces:xercesImpl:2.12.0.sp3 |
Affected Products
xercesredhatDetection & 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.sp3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-14338 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
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 |
|---|---|---|
| EAP 7.3.3 | xercesImpl | RHSA-2020:4247 |
| Red Hat Fuse 7.9 | xercesImpl | RHSA-2021:3140 |
| Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6 | eap7-activemq-artemis-0:2.9.0-5.redhat_00011.1.el6eap | RHSA-2020:4244 |
| Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 7 | eap7-activemq-artemis-0:2.9.0-5.redhat_00011.1.el7eap | RHSA-2020:4246 |
| Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 8 | eap7-activemq-artemis-0:2.9.0-5.redhat_00011.1.el8eap | RHSA-2020:4245 |
| Red Hat Single Sign-On 7.4.3 | xercesImpl | RHSA-2020:4931 |
| RHDM 7.10.0 | xercesImpl | RHSA-2021:0603 |
| RHPAM 7.10.0 | xercesImpl | RHSA-2021:0600 |
Frequently Asked Questions
Is CVE-2020-14338 in your dependencies?
Find it across Maven, including transitive dependencies.