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-2026-22690

CVE-2026-22690: pypdf Library DOS Vulnerability

CVE-2026-22690 is a denial of service flaw in pypdf library that allows attackers to cause long runtimes via crafted PDFs with missing /Root objects. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2026-22690 Overview

CVE-2026-22690 is a Denial of Service vulnerability in pypdf, a free and open-source pure-Python PDF library. Prior to version 6.6.0, pypdf is susceptible to potentially long runtimes when processing PDF files with missing /Root objects combined with large /Size values. An attacker can craft a malicious PDF that causes extended processing times for files that are technically invalid, potentially leading to resource exhaustion in applications that process untrusted PDF content.

Critical Impact

Applications using pypdf in non-strict reading mode may experience denial of service conditions when processing maliciously crafted PDF files with missing /Root entries and large /Size values.

Affected Products

  • pypdf versions prior to 6.6.0
  • Applications using pypdf non-strict reading mode for PDF processing
  • Python applications processing untrusted PDF input with pypdf library

Discovery Timeline

  • 2026-01-10 - CVE CVE-2026-22690 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2026-22690

Vulnerability Analysis

This vulnerability is classified under CWE-400 (Uncontrolled Resource Consumption). The issue exists in pypdf's non-strict reading mode, which is designed to handle partially broken or malformed PDF files more leniently. When processing a PDF file, pypdf examines the trailer dictionary to locate critical structural elements including the /Root object. By crafting a PDF that omits the /Root entry while specifying a large /Size value, an attacker can trigger resource-intensive operations that significantly extend processing time.

The vulnerability specifically affects the parsing logic that attempts to resolve page references and traverse the PDF object tree. Without proper validation and cycle detection, the parser can enter computationally expensive loops when handling these malformed structures.

Root Cause

The root cause lies in insufficient validation of PDF structural integrity during non-strict parsing. When the /Root entry is missing from the trailer dictionary, the parser should immediately reject the file or handle the error gracefully. Instead, the large /Size value causes the parser to allocate resources and attempt operations that are ultimately futile for invalid files. Additionally, the code lacked detection for cyclic page references, which could compound the resource consumption issue.

Attack Vector

The attack can be executed remotely by providing a maliciously crafted PDF file to any application using pypdf in non-strict mode. Attack scenarios include:

  • Uploading malicious PDFs to web applications that process user-submitted documents
  • Sending crafted PDFs via email to services with automatic PDF processing
  • Providing malicious PDFs to document conversion or indexing services

The attack requires no authentication or special privileges, only the ability to submit a PDF file for processing.

python
             for attr in inheritable_page_attributes:
                 if attr in pages:
                     inherit[attr] = pages[attr]
+            pages_reference = getattr(pages, "indirect_reference", object())
             for page in cast(ArrayObject, pages[PagesAttributes.KIDS]):
+                if getattr(page, "indirect_reference", object()) == pages_reference:
+                    raise PdfReadError("Detected cyclic page references.")
+
                 addt = {}
                 if isinstance(page, IndirectObject):
                     addt["indirect_reference"] = page

Source: GitHub Commit Changes

The patch adds detection for cyclic page references by tracking the pages_reference and comparing it against each page's indirect reference during iteration. When a cycle is detected, it raises a PdfReadError to prevent infinite loops.

Detection Methods for CVE-2026-22690

Indicators of Compromise

  • Abnormally high CPU utilization during PDF processing operations
  • Extended processing times for PDF files that should parse quickly
  • Application hangs or timeouts when handling PDF uploads or conversions
  • Memory consumption spikes in services processing PDF documents

Detection Strategies

  • Monitor Python application logs for timeout errors during PDF processing with pypdf
  • Implement resource monitoring for processes using the pypdf library
  • Set up alerts for CPU usage anomalies in PDF processing services
  • Track processing duration metrics for PDF operations and flag statistical outliers

Monitoring Recommendations

  • Implement processing time limits for PDF parsing operations
  • Add resource quotas for services handling untrusted PDF input
  • Log and analyze PDF file characteristics (size, structure) before processing
  • Monitor for repeated failures or timeouts from the same source

How to Mitigate CVE-2026-22690

Immediate Actions Required

  • Upgrade pypdf to version 6.6.0 or later immediately
  • Review all applications using pypdf and identify those operating in non-strict mode
  • Implement processing timeouts for PDF parsing operations as a defense-in-depth measure
  • Consider using strict mode for processing untrusted PDF files where possible

Patch Information

The vulnerability has been patched in pypdf version 6.6.0. The fix improves handling of partially broken PDF files by detecting cyclic page references and properly validating PDF structure. For detailed information about the security fix, refer to the GitHub Security Advisory GHSA-4xc4-762w-m6cg and the GitHub Pull Request Discussion.

Workarounds

  • Use strict mode (strict=True) when instantiating PdfReader for untrusted input
  • Implement timeout mechanisms around PDF processing operations
  • Pre-validate PDF file structure before processing (check for required /Root entry)
  • Apply file size limits and processing time constraints at the application level
bash
# Upgrade pypdf to patched version
pip install --upgrade pypdf>=6.6.0

# Verify installed version
pip show pypdf | grep Version

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechPypdf

  • SeverityLOW

  • CVSS Score2.7

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-400
  • Technical References
  • GitHub Commit Changes

  • GitHub Pull Request Discussion

  • GitHub Release Version 6.6.0

  • GitHub Security Advisory GHSA-4xc4-762w-m6cg
  • Related CVEs
  • CVE-2026-33699: Pypdf_project Pypdf DOS Vulnerability

  • CVE-2026-33123: Pypdf_project Pypdf DOS Vulnerability

  • CVE-2026-31826: pypdf Library DoS Vulnerability

  • CVE-2026-28804: Pypdf_project Pypdf DOS 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