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
    • 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-34169

CVE-2022-34169: Apache Xalan-java RCE Vulnerability

CVE-2022-34169 is a remote code execution flaw in Apache Xalan-java caused by integer truncation in XSLT processing. Attackers can exploit this to execute arbitrary Java bytecode. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 25, 2026

CVE-2022-34169 Overview

The Apache Xalan Java XSLT library contains a critical integer truncation vulnerability when processing malicious XSLT stylesheets. This flaw exists within the internal XSLTC compiler and can be exploited to corrupt Java class files generated during stylesheet compilation, ultimately allowing attackers to execute arbitrary Java bytecode. The vulnerability has far-reaching implications as Java runtimes such as OpenJDK include repackaged copies of the Xalan library, significantly expanding the attack surface across numerous Java applications and environments.

Critical Impact

Successful exploitation enables arbitrary Java bytecode execution through corrupted class files, potentially compromising the integrity of Java applications processing untrusted XSLT stylesheets.

Affected Products

  • Apache Xalan-Java (versions prior to 2.7.3)
  • Oracle JDK (versions 1.7.0 update 343, 1.8.0 update 333, 11.0.15.1, 17.0.3.1, 18.0.1.1)
  • Oracle OpenJDK (multiple versions including 7, 8, 11, 13, 15, 17, 18)
  • Oracle JRE (versions 1.7.0 update 343, 1.8.0 update 333, 11.0.15.1, 17.0.3.1, 18.0.1.1)
  • Oracle GraalVM Enterprise (versions 20.3.6, 21.3.2, 22.1.0)
  • Azul Zulu (versions 6.47, 7.54, 8.62, 11.56, 13.48, 15.40, 17.34, 18.30)
  • Debian Linux (versions 10.0, 11.0)
  • Fedora (versions 35, 36)
  • NetApp products (7-Mode Transition Tool, Active IQ Unified Manager, Cloud Insights Acquisition Unit, Cloud Secure Agent, HCI Management Node, OnCommand Insight, SolidFire, HCI Compute Node)

Discovery Timeline

  • July 19, 2022 - CVE-2022-34169 published to NVD
  • July 2022 - Oracle releases security patches in CPU July 2022
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-34169

Vulnerability Analysis

This vulnerability stems from an integer truncation error (CWE-681: Incorrect Conversion between Numeric Types) within the Apache Xalan Java XSLT library's internal XSLTC compiler. When the compiler processes XSLT stylesheets, certain numeric values are improperly converted between integer types, causing truncation that leads to corrupted Java class file generation.

The XSLTC compiler transforms XSLT stylesheets into executable Java bytecode at runtime. Due to the integer truncation flaw, an attacker can craft a malicious XSLT stylesheet that, when processed, causes the compiler to generate corrupted class files containing attacker-controlled bytecode. This bytecode is then loaded and executed by the JVM, bypassing standard Java security mechanisms.

The vulnerability is particularly dangerous because it affects not only standalone Xalan library deployments but also the bundled copies within most Java runtime environments. Any application that processes untrusted XSLT content—including XML transformation services, document processing systems, and web applications—may be vulnerable.

Root Cause

The root cause is an incorrect conversion between numeric types within the XSLTC compiler's class file generation logic. When handling certain numeric values that exceed the bounds of the target integer type, the compiler truncates the value rather than properly validating or handling the overflow condition. This truncation corrupts internal data structures used to construct the generated Java class file, allowing an attacker to manipulate the resulting bytecode.

Attack Vector

The attack can be executed remotely over the network by submitting a maliciously crafted XSLT stylesheet to any vulnerable application that processes XSLT transformations. The attacker does not require authentication or any prior privileges on the target system.

The attack proceeds as follows: An attacker crafts an XSLT stylesheet containing specific numeric values designed to trigger the integer truncation during compilation. When a vulnerable application processes this stylesheet through the Xalan XSLTC compiler, the truncation corrupts the generated class file structure. The corrupted class file contains attacker-controlled bytecode that executes with the privileges of the Java application, potentially leading to full system compromise.

Applications that accept user-supplied XSLT stylesheets or process XSLT content from untrusted sources are at highest risk. For detailed technical analysis of the exploitation mechanism, see the Packet Storm Security Advisory.

Detection Methods for CVE-2022-34169

Indicators of Compromise

  • Anomalous XSLT stylesheet submissions containing unusually large numeric values or complex nested structures
  • Unexpected Java class file generation or loading events following XSLT processing
  • Unusual process behavior or network connections originating from Java-based XSLT processing applications
  • Memory corruption signatures or JVM crashes during XSLT transformation operations

Detection Strategies

  • Monitor XSLT processing endpoints for suspicious stylesheet content, particularly large or malformed numeric literals
  • Implement application-layer logging for all XSLT transformation operations with content inspection
  • Deploy behavioral analysis to detect anomalous JVM activity following XSLT processing, including unexpected bytecode loading
  • Use SentinelOne's runtime protection capabilities to detect and block arbitrary bytecode execution attempts

Monitoring Recommendations

  • Enable verbose logging on Java applications that process XSLT transformations
  • Configure alerting for XSLT compilation errors or unusual XSLTC compiler behavior
  • Monitor system call patterns from Java processes for indicators of post-exploitation activity
  • Track Java class loading events for unexpected or unsigned class files

How to Mitigate CVE-2022-34169

Immediate Actions Required

  • Update Apache Xalan-Java library to version 2.7.3 or later immediately
  • Apply vendor-specific patches for all affected Java runtime environments (Oracle JDK/JRE, OpenJDK, Azul Zulu, GraalVM)
  • Audit applications to identify any that process XSLT content from untrusted sources
  • Implement input validation to restrict XSLT stylesheet sources to trusted origins only

Patch Information

Users of Apache Xalan-Java should upgrade to version 2.7.3 or later. Oracle addressed this vulnerability in the July 2022 Critical Patch Update, providing patches for Oracle JDK, JRE, OpenJDK, and GraalVM. Debian has released security advisories DSA-5188, DSA-5192, and DSA-5256. Fedora users should apply updates via the package manager. NetApp has published advisory ntap-20220729-0009 with guidance for affected products. Azul Zulu users should update to the latest supported versions.

Workarounds

  • Disable XSLT processing entirely in applications where it is not required
  • Restrict XSLT stylesheet processing to trusted, pre-validated stylesheets only
  • Implement sandboxing or containerization for applications that must process untrusted XSLT content
  • Configure Java Security Manager policies to restrict bytecode generation and class loading capabilities
bash
# Verify Java version and check for patched status
java -version

# For Maven projects, update Xalan dependency in pom.xml
# <dependency>
#   <groupId>xalan</groupId>
#   <artifactId>xalan</artifactId>
#   <version>2.7.3</version>
# </dependency>

# On Debian/Ubuntu, update Java packages
sudo apt update && sudo apt upgrade openjdk-11-jdk

# On Fedora, update Java packages
sudo dnf update java-11-openjdk

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechApache Xalan Java

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability6.66%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-681
  • Technical References
  • Packet Storm Security Advisory

  • OpenWall OSS Security Update

  • OpenWall OSS Security Notification

  • OpenWall OSS Security Discussion

  • OpenWall OSS Security Notice

  • OpenWall OSS Security Update

  • Debian LTS Security Announcement

  • Fedora Package Announcement Update

  • Fedora Package Announcement Notification

  • Fedora Package Announcement Notice

  • Fedora Package Announcement Alert

  • Fedora Package Announcement Update

  • Fedora Package Announcement Notification

  • Fedora Package Announcement Alert

  • Gentoo GLSA Security Advisory

  • NetApp Security Advisory

  • NetApp Security Advisory

  • Debian Security Advisory DSA-5188

  • Debian Security Advisory DSA-5192
  • Vendor Resources
  • OpenWall OSS Security Message

  • OpenWall OSS Security Alert

  • Apache Email Thread Discussion

  • Apache Email Thread Notification

  • Debian Security Advisory DSA-5256
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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