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

CVE-2022-30126: Apache Tika DOS Vulnerability

CVE-2022-30126 is a denial of service flaw in Apache Tika caused by regex backtracking in StandardsExtractingContentHandler. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 11, 2026

CVE-2022-30126 Overview

CVE-2022-30126 is a Regular Expression Denial of Service (ReDoS) vulnerability affecting Apache Tika, a content detection and analysis toolkit. The vulnerability exists in the StandardsText class used by the StandardsExtractingContentHandler, where a poorly crafted regular expression can cause catastrophic backtracking when processing specially crafted files. This can lead to excessive CPU consumption and denial of service conditions.

Critical Impact

Attackers can craft malicious files that exploit the regex backtracking vulnerability, causing the application to become unresponsive and consuming excessive CPU resources, effectively denying service to legitimate users.

Affected Products

  • Apache Tika versions prior to 1.28.2
  • Apache Tika versions 2.x prior to 2.4.0
  • Oracle Primavera Unifier versions 18.8, 19.12, 20.12, 21.12

Discovery Timeline

  • May 16, 2022 - CVE-2022-30126 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-30126

Vulnerability Analysis

This vulnerability is classified as an Algorithmic Complexity Attack, specifically a Regular Expression Denial of Service (ReDoS). The StandardsText class within Apache Tika contains a regular expression pattern that exhibits exponential time complexity when matched against certain input strings. When the StandardsExtractingContentHandler processes a specially crafted file, the regex engine enters a catastrophic backtracking state, causing the CPU to spike and the application to become unresponsive.

The vulnerability requires local access and user interaction, as the attacker must convince a user or automated process to parse a malicious file using the vulnerable StandardsExtractingContentHandler. While this limits the attack surface, organizations using Apache Tika for document processing pipelines or content management systems may be particularly vulnerable.

Root Cause

The root cause of this vulnerability lies in the inefficient regular expression pattern used within the StandardsText class. Regular expressions with nested quantifiers or overlapping alternatives can cause the regex engine to explore an exponentially growing number of matching possibilities. When combined with carefully crafted input that maximizes backtracking, this results in denial of service through CPU exhaustion.

The vulnerability specifically affects the StandardsExtractingContentHandler, which is a non-standard handler used to extract standards references from documents. While this limits the impact to users who have explicitly enabled this handler, it still poses a significant risk in environments where document processing is automated.

Attack Vector

The attack requires local file access and user interaction to exploit. An attacker would craft a malicious file containing input strings specifically designed to trigger the regex backtracking vulnerability. The attack flow typically involves:

  1. The attacker creates a specially crafted document containing patterns that exploit the vulnerable regex
  2. The malicious file is submitted to an application using Apache Tika with the StandardsExtractingContentHandler enabled
  3. When Tika processes the file, the regex engine enters catastrophic backtracking
  4. CPU resources are exhausted, causing denial of service

The vulnerability manifests in the regex pattern matching logic within the StandardsText class. When the StandardsExtractingContentHandler processes document content, it applies regular expressions to identify standards references. A malicious input string can cause the regex engine to explore an exponential number of match possibilities, effectively halting the application. For technical details, refer to the Apache Mailing List Thread.

Detection Methods for CVE-2022-30126

Indicators of Compromise

  • Abnormally high CPU utilization on systems running Apache Tika document processing
  • Application threads stuck in regex matching operations for extended periods
  • Document processing queues backing up without apparent network or I/O bottlenecks
  • Java process memory and CPU spikes correlated with specific document uploads

Detection Strategies

  • Monitor for sudden CPU spikes in Java processes running Apache Tika, particularly during document ingestion
  • Implement application-level timeout monitoring for document parsing operations
  • Configure alerting for processing threads that exceed normal execution time thresholds
  • Review application logs for stuck or unresponsive StandardsExtractingContentHandler operations

Monitoring Recommendations

  • Establish baseline metrics for document processing times and CPU utilization
  • Deploy APM (Application Performance Monitoring) solutions to track Tika processing latency
  • Configure automated alerts when document processing exceeds defined time thresholds
  • Monitor Java heap and thread dumps for evidence of regex-related performance issues

How to Mitigate CVE-2022-30126

Immediate Actions Required

  • Upgrade Apache Tika to version 1.28.2 or later for the 1.x branch
  • Upgrade Apache Tika to version 2.4.0 or later for the 2.x branch
  • Review whether the StandardsExtractingContentHandler is enabled in your deployment and disable if not required
  • Apply relevant patches from Oracle for Primavera Unifier if affected

Patch Information

Apache has addressed this vulnerability in Apache Tika versions 1.28.2 and 2.4.0. The fix involves optimizing the regular expression pattern in the StandardsText class to prevent catastrophic backtracking. Organizations should upgrade to these patched versions immediately.

For Oracle Primavera Unifier users, refer to the Oracle Critical Patch Update July 2022 for applicable patches. Additional vendor security guidance is available from NetApp Security Advisory NTAP-20220624-0004.

Workarounds

  • Disable the StandardsExtractingContentHandler if standards extraction functionality is not required
  • Implement input validation and file size limits for documents processed by Apache Tika
  • Configure processing timeouts to terminate long-running parsing operations
  • Deploy document processing in isolated environments with resource limits to contain potential DoS impact
bash
# Example: Setting processing timeout in Tika configuration
# Set maximum parsing time to prevent resource exhaustion
export TIKA_PARSE_TIMEOUT_MS=60000

# Verify Apache Tika version to ensure patched version is installed
java -jar tika-app-2.4.0.jar --version

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechApache Tika

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability1.31%

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

  • Openwall OSS Security Update

  • Openwall OSS Security Alert

  • NetApp Security Advisory NTAP-20220624-0004

  • Oracle Critical Patch Update July 2022
  • Vendor Resources
  • Apache Mailing List Thread
  • Related CVEs
  • CVE-2022-33879: Apache Tika DOS Vulnerability

  • CVE-2022-30973: Apache Tika Denial of Service Vulnerability

  • CVE-2022-25169: Apache Tika DOS Vulnerability

  • CVE-2025-66516: Apache Tika XXE Vulnerability
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