Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2022-23437

xerces-j2: infinite loop when handling specially crafted XML document payloads

Overview

Published
24 Jan 2022
Modified
8 Oct 2026
Medium CVE
2 Registry packages
74 OS packages
5 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

6.5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weakness: CWE-835

Affected packages · 2

Packages affected by CVE-2022-23437
EcosystemPackageVulnerableFixed in
Maven xerces:xercesimpl <2.12.2 2.12.2
RubyGems nokogiri — 1.13.4

Open a package to see all its vulnerabilities.

Operating systems · 38 fixes

Red Hat 4 releases · 12 packages

eol 1 wont fix 3 fixed 20
xerces-j2 rh-maven36-xerces-j2 eap7-wildfly-http-client-common eap7-h2database eap7-xerces-j2 eap7-jackson-databind +6
Red Hat fixes for CVE-2022-23437
ReleasePackageFixed inAdvisory
7 xerces-j2 +2 eol —
7 rh-maven36-xerces-j2 +2 wont fix —
7 eap7-wildfly-http-client-common +3 0:1.1.11-1.SP1_redhat_00001.1.el7eap RHSA-2022:4918
7 eap7-h2database 0:1.4.197-2.redhat_00004.1.el7eap RHSA-2022:4918
7 eap7-xerces-j2 0:2.12.0-3.SP04_redhat_00001.1.el7eap RHSA-2022:4918
7 eap7-jackson-databind 0:2.12.6.1-1.redhat_00003.1.el7eap RHSA-2022:4918

18 more rows

SUSE Linux Enterprise 1 release · 1 package

fixed 1
xerces-j2
SUSE Linux Enterprise fixes for CVE-2022-23437
ReleasePackageFixed inAdvisory
12.5 xerces-j2 +4 2.8.1-268.9.1 SUSE-SU-2022:0542-1

debian 6 releases · 1 package

affected 3 fixed 3
libxerces2-java
debian fixes for CVE-2022-23437
ReleasePackageFixed in
10 libxerces2-java affected
11 libxerces2-java affected
12 libxerces2-java 2.12.2-1
13 libxerces2-java 2.12.2-1
14 libxerces2-java 2.12.2-1
9 libxerces2-java affected

echo 1 release · 1 package

fixed 1
libxerces2-java
echo fixes for CVE-2022-23437
ReleasePackageFixed in
libxerces2-java 2.12.2-1

openSUSE 1 release · 6 packages

fixed 6
ruby3-1-rubygem-nokogiri ruby3-2-rubygem-nokogiri ruby3-3-rubygem-nokogiri ruby3-4-rubygem-nokogiri ruby4-0-rubygem-nokogiri xerces-j2
openSUSE fixes for CVE-2022-23437
ReleasePackageFixed inAdvisory
Tumbleweed ruby3-1-rubygem-nokogiri 1.13.4-1.1 openSUSE-SU-2024:11999-1
Tumbleweed ruby3-2-rubygem-nokogiri 1.13.9-1.7 openSUSE-SU-2024:13165-1
Tumbleweed ruby3-3-rubygem-nokogiri 1.15.5-1.5 openSUSE-SU-2024:14174-1
Tumbleweed ruby3-4-rubygem-nokogiri 1.18.2-1.1 openSUSE-SU-2025:14697-1
Tumbleweed ruby4-0-rubygem-nokogiri 1.18.9-1.4 openSUSE-SU-2026:10356-1
Tumbleweed xerces-j2 +2 2.12.2-1.1 openSUSE-SU-2024:11845-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.