cve.bz

CVE-2022-23437 Infinite Loop

6.5 mediumEPSS 12%Fix available

Medium (6.5). EPSS 12% estimated probability of exploitation activity in the next 30 days. Fixed in xerces:xercesImpl 2.12.2.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
12% (unchanged from 12% a week ago; 12% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-23437 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-23437?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-23437?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-23437 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2022-23437

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2022-23437](https://cve.bz/cve/badge/CVE-2022-23437.svg)](https://cve.bz/cve/CVE-2022-23437)

HTML:

<a href="https://cve.bz/cve/CVE-2022-23437"><img src="https://cve.bz/cve/badge/CVE-2022-23437.svg" alt="CVE-2022-23437"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Xercesfrom Apache XercesJ through 2.12.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-h65f-jvqw-m9fjMavenxerces:xercesImpl<2.12.22.12.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libxerces2-java2.12.2-1DEBIAN-CVE-2022-23437
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTS and 6 morelibxerces2-javano fix listedUBUNTU-CVE-2022-23437
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-activemq-artemis, eap7-activemq-artemis-ra, eap7-activemq-artemis-cli and 13 more0:2.16.0-9.redhat_00042.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-h2database0:1.4.197-2.redhat_00004.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-hal-console0:3.3.12-1.Final_redhat_00001.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jackson-databind0:2.12.6.1-1.redhat_00003.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-xnio-base0:3.8.7-1.SP1_redhat_00001.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-netty, eap7-netty-all, eap7-netty-codec and 25 more0:4.1.72-4.Final_redhat_00001.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-undertow0:2.2.17-2.SP4_redhat_00001.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-wildfly, eap7-wildfly-modules, eap7-wildfly-javadocs and 2 more0:7.4.5-3.GA_redhat_00001.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-wildfly-http-client, eap7-wildfly-http-ejb-client, eap7-wildfly-http-client-common and 2 more0:1.1.11-1.SP1_redhat_00001.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-xerces-j20:2.12.0-3.SP04_redhat_00001.1.el7eapRHSA-2022:4918
Red Hatjboss_enterprise_application_platform:7.4::el8eap7-activemq-artemis, eap7-activemq-artemis-ra, eap7-activemq-artemis-cli and 13 more0:2.16.0-9.redhat_00042.1.el8eapRHSA-2022:4919
Red Hatjboss_enterprise_application_platform:7.4::el8eap7-h2database0:1.4.197-2.redhat_00004.1.el8eapRHSA-2022:4919
8 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 morexerces-j22.11.0-4.3.1SUSE-SU-2022:0500-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 8 morexerces-j22.12.0-3.3.1SUSE-SU-2022:0503-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 morexerces-j22.8.1-268.9.1SUSE-SU-2022:0542-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSxerces-j22.8.1-238.29.8.1SUSE-SU-2022:14889-1
openSUSELeap 15.3xerces-j22.11.0-4.3.1openSUSE-SU-2022:0500-1
openSUSELeap 15.3xerces-j22.12.0-3.3.1openSUSE-SU-2022:0503-1
openSUSETumbleweedruby3.2-rubygem-nokogiri1.13.9-1.7openSUSE-SU-2024:13165-1
openSUSETumbleweedrubygem-nokogiri1.13.4-1.1openSUSE-SU-2024:11999-1
openSUSETumbleweedrubygem-nokogiri1.15.5-1.5openSUSE-SU-2024:14174-1
openSUSETumbleweedrubygem-nokogiri1.18.2-1.1openSUSE-SU-2025:14697-1
openSUSETumbleweedrubygem-nokogiri1.18.9-1.4openSUSE-SU-2026:10356-1
openSUSETumbleweedxerces-j22.12.2-1.1openSUSE-SU-2024:11845-1
Azure Linux3xerces-j2no fix listedAZL-109499

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat JBoss Enterprise Application Platformxerces/xercesImpl:2.12.0.SP04-redhat-00001Fixed 2022-06-06RHSA-2022:4922
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-xerces-j2-0:2.12.0-3.SP04_redhat_00001.1.el8eapFixed 2022-06-06RHSA-2022:4919
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7eap7-xerces-j2-0:2.12.0-3.SP04_redhat_00001.1.el7eapFixed 2022-06-06RHSA-2022:4918
RHPAM 7.13.1 asyncxercesImplFixed 2022-10-05RHSA-2022:6813
Red Hat Enterprise Linux 6xerces-j2Out of support scope
Red Hat Enterprise Linux 7xerces-j2Out of support scope
Red Hat Enterprise Linux 8pki-deps:10.6/xerces-j2Will not fix
Red Hat Enterprise Linux 9xerces-j2Will not fix
Red Hat JBoss Enterprise Application Platform 6xerces-j2-eap6Out of support scope
Red Hat JBoss Web Server 3xerces-j2Not affected
Red Hat Software Collectionsrh-maven36-xerces-j2Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-23437.

References

Check your stackJSON