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

CVE-2022-25169: Apache Tika DOS Vulnerability

CVE-2022-25169 is a denial of service flaw in Apache Tika where the BPG parser allocates excessive memory on crafted files. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 11, 2026

CVE-2022-25169 Overview

CVE-2022-25169 is a Resource Exhaustion vulnerability affecting Apache Tika, a content analysis toolkit widely used for detecting and extracting metadata and text from various file formats. The vulnerability exists in the BPG (Better Portable Graphics) parser component, which can be tricked into allocating an unreasonable amount of memory when processing specially crafted BPG files.

Critical Impact

Attackers can craft malicious BPG files that trigger excessive memory allocation in the Apache Tika BPG parser, leading to denial of service conditions through memory exhaustion.

Affected Products

  • Apache Tika versions before 1.28.2
  • Apache Tika versions before 2.4.0
  • Oracle Primavera Unifier versions 18.8, 19.12, 20.12, 21.12

Discovery Timeline

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

Technical Details for CVE-2022-25169

Vulnerability Analysis

This vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The BPG parser in Apache Tika fails to properly validate or limit memory allocation when processing input files. When a user or application processes a maliciously crafted BPG file through Tika, the parser attempts to allocate memory based on values specified within the file structure without implementing appropriate bounds checking.

The attack requires local access and user interaction, meaning an attacker would need to deliver a malicious BPG file to a victim who then processes it using an application that leverages Apache Tika for content analysis. This could occur in document management systems, content indexing services, or any application utilizing Tika for file parsing.

Root Cause

The root cause of CVE-2022-25169 lies in insufficient input validation within the BPG parser component. The parser reads size or dimension parameters from the BPG file headers and uses these values to determine memory allocation without implementing proper upper-bound limits. Attackers can specify extremely large values in these parameters, causing the parser to attempt allocating excessive memory that can exhaust available system resources.

Attack Vector

The attack vector for this vulnerability requires local access with user interaction. An attacker must craft a malicious BPG file containing manipulated header values that specify unreasonably large memory requirements. The attack sequence involves:

  1. The attacker creates a specially crafted BPG file with manipulated size parameters in the file header
  2. The malicious file is delivered to a target system through various means (email attachment, file upload, shared storage)
  3. When a user or automated process attempts to analyze the file using Apache Tika, the BPG parser reads the malicious parameters
  4. The parser attempts to allocate memory based on the crafted values without proper validation
  5. System memory becomes exhausted, resulting in denial of service affecting the application and potentially the entire system

Detection Methods for CVE-2022-25169

Indicators of Compromise

  • Unexpected memory consumption spikes when processing BPG image files
  • Application crashes or out-of-memory errors during Tika content analysis operations
  • BPG files with anomalously large dimension values in file headers
  • System performance degradation correlating with document processing activities

Detection Strategies

  • Monitor Java heap memory usage for applications utilizing Apache Tika libraries
  • Implement file type validation to identify BPG files before processing
  • Configure application-level memory limits and alerting thresholds
  • Review logs for OutOfMemoryError exceptions in Tika parsing contexts

Monitoring Recommendations

  • Set up resource monitoring for services running Apache Tika to detect unusual memory allocation patterns
  • Configure heap dump collection on memory threshold violations for forensic analysis
  • Implement file integrity monitoring on document processing queues to identify suspicious BPG files
  • Monitor for repeated processing failures that could indicate exploitation attempts

How to Mitigate CVE-2022-25169

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
  • Apply Oracle's Critical Patch Update from July 2022 for affected Primavera Unifier deployments
  • Implement memory limits and resource constraints for document processing services

Patch Information

Apache has released patched versions that address this memory exhaustion vulnerability. Users should upgrade to Apache Tika 1.28.2 or 2.4.0 depending on their deployment branch. Oracle has included fixes in their July 2022 Critical Patch Update for affected Primavera Unifier versions. For detailed patch information, refer to the Apache Mailing List Thread, the Oracle Critical Patch Update, or the NetApp Security Advisory.

Workarounds

  • Disable BPG file parsing if not required by configuring Tika's parser exclusions
  • Implement strict file type allowlisting to prevent processing of BPG files
  • Configure JVM memory limits (-Xmx) to contain potential memory exhaustion to the application level
  • Deploy document processing in isolated containers with resource quotas to limit blast radius
bash
# Configuration example - JVM memory limits for Tika applications
# Set maximum heap size to prevent system-wide memory exhaustion
java -Xmx512m -jar tika-app.jar --config tika-config.xml

# Example Tika configuration to exclude BPG parser (tika-config.xml)
# Disable BPG parsing if not required for your use case

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 Probability0.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
  • CWE-770
  • Technical References
  • Openwall OSS Security Update

  • Apache Mailing List Thread

  • NetApp Security Advisory

  • Oracle Critical Patch Update
  • Related CVEs
  • CVE-2022-33879: Apache Tika DOS Vulnerability

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

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