CVEfocus › CVE database › CVE-2022-23437

CVE-2022-23437Infinite loop within Apache XercesJ xml parser

CVSS 6.5 MediumEPSS 4.4% (higher than 92% of CVEs)Published 2022-01-24Updated 2026-10-08Assigner: apache

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.

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
1Fix pending
3Under investigation
19Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libxerces2-javaFix pendingUBUNTU-CVE-2022-23437
Ubuntu 26.04libxerces2-javaUnder investigationUBUNTU-CVE-2022-23437
Ubuntu 25.10libxerces2-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-23437
Ubuntu 24.04libxerces2-javaUnder investigationUBUNTU-CVE-2022-23437
Ubuntu 22.04libxerces2-javaUnder investigationUBUNTU-CVE-2022-23437
Ubuntu 20.04libxerces2-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-23437
Ubuntu 18.04libxerces2-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-23437
Ubuntu 16.04libxerces2-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-23437
Ubuntu 14.04libxerces2-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-23437
Debian 14libxerces2-javaFixed2.12.2-1DEBIAN-CVE-2022-23437
Debian 13libxerces2-javaFixed2.12.2-1DEBIAN-CVE-2022-23437
Debian 12libxerces2-javaFixed2.12.2-1DEBIAN-CVE-2022-23437
Red Hat Enterprise Linux 9xerces-j2Will not fix
Will not fix
Red Hat Enterprise Linux 8xerces-j2Will not fix
Will not fix
Red Hat Enterprise Linux 8xerces-j2-demoWill not fix
Will not fix
Red Hat Enterprise Linux 8xerces-j2-javadocWill not fix
Will not fix
Red Hat Enterprise Linux 7xerces-j2Will not fix
Out of support scope
Red Hat Enterprise Linux 7xerces-j2-demoWill not fix
Out of support scope
Red Hat Enterprise Linux 7xerces-j2-javadocWill not fix
Out of support scope
Red Hat Enterprise Linux 6xerces-j2Will not fix
Out of support scope
Red Hat Enterprise Linux 6xerces-j2-demoWill not fix
Out of support scope
Red Hat Enterprise Linux 6xerces-j2-javadoc-apisWill not fix
Out of support scope
Red Hat Enterprise Linux 6xerces-j2-javadoc-implWill not fix
Out of support scope
Red Hat Enterprise Linux 6xerces-j2-javadoc-otherWill not fix
Out of support scope
Red Hat Enterprise Linux 6xerces-j2-javadoc-xniWill not fix
Out of support scope
Red Hat Enterprise Linux 6xerces-j2-scriptsWill not fix
Out of support scope
Maven libraryxerces:xercesimplFixed2.12.2GHSA-h65f-jvqw-m9fj

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Apache XercesJ users, should migrate to version 2.12.2

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.