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-33879

CVE-2022-33879: Apache Tika DOS Vulnerability

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

Published: February 11, 2026

CVE-2022-33879 Overview

CVE-2022-33879 is a Regular Expression Denial of Service (ReDoS) vulnerability in Apache Tika's StandardsExtractingContentHandler component. This vulnerability was discovered after the initial fixes for CVE-2022-30126 and CVE-2022-30973 were found to be insufficient, revealing a separate regex pattern vulnerable to catastrophic backtracking in a different regex within the same handler.

Critical Impact

Attackers can craft malicious input that triggers excessive CPU consumption through regex backtracking, causing denial of service conditions in applications using Apache Tika for content extraction.

Affected Products

  • Apache Tika versions prior to 1.28.4
  • Apache Tika versions prior to 2.4.1

Discovery Timeline

  • 2022-06-27 - CVE-2022-33879 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-33879

Vulnerability Analysis

This vulnerability represents a follow-up security issue to CVE-2022-30126 and CVE-2022-30973, demonstrating that the initial remediation efforts were incomplete. The StandardsExtractingContentHandler class in Apache Tika utilizes regular expressions to parse and extract standards references from document content. A previously unidentified regex pattern within this handler contains inefficient quantifiers that are susceptible to catastrophic backtracking when processing specially crafted input strings.

ReDoS vulnerabilities exploit the non-deterministic finite automaton (NFA) implementation used by most regex engines. When an attacker provides input that causes exponential backtracking iterations, the regex engine consumes excessive CPU cycles attempting to find a match, effectively rendering the application unresponsive.

The vulnerability requires local access and user interaction, meaning an attacker must convince a user to process a malicious document through an application utilizing Apache Tika's StandardsExtractingContentHandler. While the impact is limited to availability (denial of service) without affecting confidentiality or integrity, it can still disrupt document processing pipelines and content extraction services.

Root Cause

The root cause is an inefficient regular expression pattern in the StandardsExtractingContentHandler class that fails to account for pathological input cases. The regex contains nested quantifiers or alternation constructs that create exponential matching complexity when processing specific character sequences. This represents a common pattern where regex patterns designed for legitimate content parsing become vulnerable when adversarial input is considered.

Attack Vector

The attack vector requires local access to the system running Apache Tika and user interaction to trigger the vulnerability. An attacker crafts a document containing specially constructed text strings designed to exploit the vulnerable regex pattern. When a user processes this document using an application that invokes Apache Tika's StandardsExtractingContentHandler, the malicious content triggers catastrophic regex backtracking. The regex engine enters an extremely long computation loop, causing CPU exhaustion and application hang or slowdown.

The attack does not require authentication or elevated privileges, but the local access requirement and need for user interaction to process the malicious document significantly limit the attack surface.

Detection Methods for CVE-2022-33879

Indicators of Compromise

  • Abnormally high CPU utilization by Java processes running Apache Tika
  • Application timeouts or hangs during document processing operations
  • Processing queue backups in content extraction pipelines
  • Unusual memory consumption patterns alongside CPU spikes

Detection Strategies

  • Monitor Java application performance metrics for anomalous CPU spikes during document parsing
  • Implement processing timeouts for Tika extraction operations to detect hung processes
  • Review application logs for document processing failures or timeout exceptions
  • Audit document sources for potentially malicious files targeting content handlers

Monitoring Recommendations

  • Deploy application performance monitoring (APM) with alerting on CPU threshold breaches
  • Implement resource consumption baselines for Tika processing workloads
  • Configure watchdog processes to detect and restart hung document processing services
  • Enable verbose logging for StandardsExtractingContentHandler operations in non-production environments

How to Mitigate CVE-2022-33879

Immediate Actions Required

  • Upgrade Apache Tika to version 1.28.4 or later for the 1.x branch
  • Upgrade Apache Tika to version 2.4.1 or later for the 2.x branch
  • Review and audit all applications utilizing Apache Tika for document processing
  • Implement processing timeouts as a temporary mitigation if immediate upgrade is not possible

Patch Information

Apache has released fixed versions that address the vulnerable regex pattern in StandardsExtractingContentHandler. The fixes are available in Apache Tika 1.28.4 for the 1.x series and 2.4.1 for the 2.x series. Organizations should update to these versions or later to remediate the vulnerability.

For additional technical details and discussion, refer to the OpenWall OSS Security Discussion, the Apache Mailing List Thread, and the NetApp Security Advisory NTAP-20220812-0004.

Workarounds

  • Implement strict processing timeouts for all Tika content extraction operations
  • Disable or avoid using StandardsExtractingContentHandler if standards extraction is not required
  • Isolate Tika processing in sandboxed containers with resource limits to contain DoS impact
  • Pre-screen documents using file size and content heuristics before Tika processing
bash
# Configuration example - Resource limits for containerized Tika deployments
# Docker run with CPU and memory constraints
docker run --cpus="2.0" --memory="2g" --memory-swap="2g" \
  -e TIKA_TIMEOUT=30000 \
  apache/tika:2.4.1

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

  • SeverityLOW

  • CVSS Score3.3

  • EPSS Probability0.03%

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

  • Apache Mailing List Thread

  • NetApp Security Advisory NTAP-20220812-0004
  • Related CVEs
  • CVE-2022-30973: Apache Tika Denial of Service Vulnerability

  • CVE-2022-30126: Apache Tika DOS 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