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

CVE-2022-24198: Itextpdf Itext DoS Vulnerability

CVE-2022-24198 is a denial of service vulnerability in Itextpdf Itext v7.1.17 caused by an out-of-bounds exception. This article covers the technical details, affected versions, security impact, and mitigation strategies.

Published: February 17, 2026

CVE-2022-24198 Overview

CVE-2022-24198 is an out-of-bounds exception vulnerability discovered in iText v7.1.17, a popular Java library used for PDF manipulation and generation. The flaw exists in the ARCFOUREncryption.encryptARCFOUR component, which fails to properly validate input boundaries when processing specially crafted PDF files. An attacker can exploit this vulnerability to cause a Denial of Service (DoS) condition by providing a malicious PDF file that triggers the out-of-bounds exception.

It is important to note that the vendor (iTextPDF) has disputed this finding, stating they do not view this as a vulnerability and have not found it to be exploitable in practice.

Critical Impact

Applications using iText v7.1.17 to process untrusted PDF files may be susceptible to denial of service attacks through crafted PDF input, potentially disrupting document processing workflows.

Affected Products

  • iTextPDF iText version 7.1.17
  • Applications and services utilizing iText v7.1.17 for PDF processing
  • Document management systems with iText integration

Discovery Timeline

  • 2022-02-01 - CVE-2022-24198 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-24198

Vulnerability Analysis

This vulnerability is classified as an Out-of-Bounds Read (CWE-125) issue that manifests within the PDF encryption handling component of the iText library. The ARCFOUREncryption.encryptARCFOUR function, which implements the ARCFOUR (RC4) stream cipher for PDF encryption operations, contains inadequate boundary validation logic.

When the function processes a malformed or specially crafted PDF file, it can attempt to access memory outside the bounds of the allocated buffer, triggering an exception. In Java, this typically manifests as an ArrayIndexOutOfBoundsException that, if not properly caught by the application, will cause the processing thread or entire application to terminate unexpectedly.

The attack requires user interaction as the victim must open or process the malicious PDF file, but the attack can be executed remotely over a network by delivering the crafted file through various channels such as email attachments, web downloads, or API submissions.

Root Cause

The root cause lies in the ARCFOUREncryption.encryptARCFOUR method's failure to properly validate array indices or buffer sizes before performing encryption operations. When processing PDF encryption metadata, the function does not adequately check that the input data conforms to expected boundaries, allowing malformed PDF structures to trigger out-of-bounds array accesses.

This type of vulnerability commonly occurs when cryptographic functions make assumptions about input data sizes without explicit validation, particularly when parsing complex file formats like PDF that may contain intentionally malformed encryption parameters.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker would craft a malicious PDF file containing specially constructed encryption metadata designed to trigger the out-of-bounds condition. The attack flow typically involves:

  1. The attacker creates a PDF file with malformed ARCFOUR encryption parameters
  2. The malicious PDF is delivered to the target through email, web upload, or other document submission channels
  3. When the victim's application attempts to process the PDF using the vulnerable iText library version
  4. The encryptARCFOUR function attempts to access data outside valid boundaries
  5. An exception is thrown, causing the application to crash or become unresponsive

For technical details on the vulnerability mechanism, see the GitHub Pull Request #78 and associated discussion comments.

Detection Methods for CVE-2022-24198

Indicators of Compromise

  • Unexpected application crashes or terminations during PDF processing operations
  • ArrayIndexOutOfBoundsException errors in application logs originating from iText encryption components
  • Repeated failures when processing specific PDF files from untrusted sources
  • Elevated error rates in document processing workflows

Detection Strategies

  • Monitor application logs for exceptions originating from ARCFOUREncryption class components
  • Implement file integrity monitoring on PDF processing services to detect crash patterns
  • Deploy application performance monitoring to identify unusual termination events in PDF handling modules
  • Review dependency manifests for iText version 7.1.17 using software composition analysis tools

Monitoring Recommendations

  • Configure alerting for repeated application crashes in document processing services
  • Implement centralized logging for all PDF processing operations with exception tracking
  • Monitor system resource utilization for signs of service disruption
  • Track error rates and processing failures as potential indicators of exploitation attempts

How to Mitigate CVE-2022-24198

Immediate Actions Required

  • Review your software dependencies to identify any usage of iText version 7.1.17
  • Consider upgrading to a newer version of the iText library if available
  • Implement input validation and sanitization for PDF files from untrusted sources
  • Deploy exception handling around PDF processing code to prevent application crashes
  • Limit PDF processing capabilities to trusted sources where possible

Patch Information

The vendor (iTextPDF) has disputed this vulnerability, stating they have not found it to be exploitable. For the latest information on any patches or updates, refer to the GitHub Pull Request #78 and the vendor's official release notes. Users concerned about this issue should evaluate upgrading to newer versions of iText where additional hardening may have been implemented.

Workarounds

  • Implement try-catch exception handling around all iText PDF processing calls to gracefully handle potential failures
  • Validate PDF files before processing using independent validation libraries or services
  • Implement process isolation for PDF processing operations to prevent crashes from affecting other services
  • Consider using PDF preprocessing or sanitization tools before passing files to iText
  • Restrict PDF upload and processing capabilities to authenticated users only
bash
# Example: Check iText version in Maven projects
grep -r "itext" pom.xml | grep "7.1.17"

# Example: Check iText version in Gradle projects  
grep -r "itext" build.gradle | grep "7.1.17"

# If found, consider updating to a newer version in your dependency configuration

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechItext

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.28%

  • 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-125
  • Technical References
  • GitHub Pull Request #78

  • GitHub Issue Comment #1089287808
  • Related CVEs
  • CVE-2022-24197: iTextPDF iText DoS Vulnerability

  • CVE-2023-6298: Itextpdf Itext RCE 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