The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-23437

CVE-2022-23437: Apache Xerces-j DOS Vulnerability

CVE-2022-23437 is a denial-of-service flaw in Apache Xerces-j XML parser that triggers an infinite loop when processing malicious XML documents. This post covers its technical details, affected versions, and mitigation.

Published: February 18, 2026

CVE-2022-23437 Overview

CVE-2022-23437 is a Denial of Service vulnerability within the Apache Xerces Java (XercesJ) XML parser that occurs when handling specially crafted XML document payloads. When exploited, this vulnerability causes the XercesJ XML parser to enter an infinite loop, which may consume system resources for prolonged durations. This vulnerability affects XercesJ version 2.12.1 and all previous versions, impacting a wide range of enterprise applications that rely on this widely-used XML parsing library.

Critical Impact

Attackers can craft malicious XML documents that trigger an infinite loop in the parser, leading to resource exhaustion and denial of service conditions affecting application availability.

Affected Products

  • Apache Xerces-J (versions up to and including 2.12.1)
  • Oracle WebLogic Server (versions 12.2.1.3.0, 12.2.1.4.0, 14.1.1.0.0)
  • Oracle PeopleSoft Enterprise PeopleTools (versions 8.58, 8.59)
  • Oracle Primavera Gateway (multiple versions)
  • Oracle Financial Services Analytical Applications Infrastructure
  • Oracle Communications Element Manager
  • NetApp Active IQ Unified Manager for Windows

Discovery Timeline

  • January 24, 2022 - CVE-2022-23437 published to NVD
  • April 2022 - Oracle releases security patches in CPU April 2022
  • July 2022 - Oracle releases additional patches in CPU July 2022
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-23437

Vulnerability Analysis

This vulnerability is classified as CWE-835 (Loop with Unreachable Exit Condition), commonly known as an infinite loop vulnerability. The flaw exists in how the Apache Xerces-J XML parser processes certain XML document structures. When the parser encounters a specially crafted XML payload, it enters a loop that never terminates due to an unreachable exit condition.

The vulnerability can be triggered remotely through network-accessible services that accept and parse XML input using the vulnerable Xerces-J library. User interaction is required in the sense that a victim application must process the attacker-supplied XML document. The attack does not compromise data confidentiality or integrity but severely impacts system availability.

Root Cause

The root cause of CVE-2022-23437 lies in improper loop termination logic within the XML parsing routines of Apache Xerces-J. When processing specific XML document structures, the parser's internal state machine fails to reach an exit condition, resulting in an infinite loop. This causes the parsing thread to continue execution indefinitely, consuming CPU cycles and potentially memory resources until the process is manually terminated or the system becomes unresponsive.

Attack Vector

The attack vector for this vulnerability is network-based, allowing remote exploitation. An attacker can exploit this vulnerability by sending a specially crafted XML document to any application or service that uses Apache Xerces-J for XML parsing. Common attack scenarios include:

The attacker crafts a malicious XML document designed to trigger the infinite loop condition within the parser. This document is then submitted to a vulnerable application through standard XML processing endpoints such as web service APIs, file upload functionality, or any other XML input mechanism.

Upon processing the malicious XML, the XercesJ parser enters the infinite loop, causing the application to become unresponsive. Depending on the application architecture, this may affect a single request handler thread or potentially the entire application if thread pool resources are exhausted.

Detection Methods for CVE-2022-23437

Indicators of Compromise

  • Abnormally high CPU utilization by Java processes running applications that parse XML
  • Application threads stuck in XML parsing operations for extended periods
  • Thread dumps showing threads blocked in Xerces-J parsing methods
  • Increased application response times or timeouts when processing XML input

Detection Strategies

  • Monitor Java application thread states for threads that remain in RUNNABLE state within Xerces parsing methods for abnormal durations
  • Implement application-level logging to track XML parsing operation durations and alert on excessive processing times
  • Use application performance monitoring (APM) tools to detect CPU consumption anomalies in XML processing components
  • Scan application dependencies to identify vulnerable versions of Apache Xerces-J (version 2.12.1 and earlier)

Monitoring Recommendations

  • Configure alerts for sustained high CPU usage patterns in Java application servers
  • Implement XML parsing timeouts at the application level to prevent indefinite processing
  • Monitor thread pool health metrics for evidence of thread exhaustion
  • Track application availability metrics and set up alerting for service degradation patterns consistent with DoS attacks

How to Mitigate CVE-2022-23437

Immediate Actions Required

  • Inventory all applications using Apache Xerces-J and identify vulnerable versions
  • Update Apache Xerces-J to version 2.12.2 or later where the vulnerability has been fixed
  • Apply relevant Oracle Critical Patch Updates for affected Oracle products
  • Implement XML parsing timeouts as a defensive measure until patches can be applied

Patch Information

Apache has addressed this vulnerability in Xerces-J version 2.12.2 and later. Organizations using affected Oracle products should apply the security patches from Oracle's April 2022 Critical Patch Update or July 2022 Critical Patch Update depending on the specific product. NetApp has also released patches for affected products as documented in their Security Advisory.

For detailed information about the vulnerability, refer to the Apache Mailing List Thread and the Openwall OSS Security Update.

Workarounds

  • Implement XML parsing timeouts to automatically terminate parsing operations that exceed reasonable durations
  • Use input validation to reject potentially malicious XML documents before parsing
  • Deploy web application firewalls (WAF) with XML inspection capabilities to filter malicious payloads
  • Consider isolating XML parsing operations in separate thread pools to prevent DoS from affecting the entire application
bash
# Maven dependency update example
# Update pom.xml to use patched version
# Change:
#   <dependency>
#     <groupId>xerces</groupId>
#     <artifactId>xercesImpl</artifactId>
#     <version>2.12.1</version>
#   </dependency>
# To:
#   <dependency>
#     <groupId>xerces</groupId>
#     <artifactId>xercesImpl</artifactId>
#     <version>2.12.2</version>
#   </dependency>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechApache Xerces J

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-835
  • Technical References
  • Openwall OSS Security Update

  • NetApp Security Advisory
  • Vendor Resources
  • Apache Mailing List Thread

  • Oracle CPU April 2022 Alert

  • Oracle CPU July 2022 Alert
  • Latest CVEs
  • CVE-2025-52479: HTTP.jl & URIs.jl CRLF Injection Flaw

  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31744: Linux Kernel NULL Pointer Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English