Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI 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-24688

CVE-2026-24688: pypdf Library DoS Vulnerability

CVE-2026-24688 is a denial-of-service flaw in pypdf library that allows attackers to trigger an infinite loop via crafted PDFs. This article covers the technical details, affected versions, impact, and mitigation.

Published: January 30, 2026

CVE-2026-24688 Overview

CVE-2026-24688 is an Infinite Loop vulnerability affecting pypdf, a free and open-source pure-python PDF library. An attacker can craft a malicious PDF file that triggers an infinite loop when the application attempts to access outlines or bookmarks within the document. This vulnerability exists in versions prior to 6.6.2 and can lead to denial of service conditions by causing applications processing malicious PDFs to hang indefinitely.

Critical Impact

Applications using pypdf to process untrusted PDF files may become unresponsive when encountering specially crafted documents with cyclic references in outline structures, leading to denial of service.

Affected Products

  • pypdf versions prior to 6.6.2
  • Applications and services using vulnerable pypdf versions for PDF processing
  • Python-based document management systems utilizing pypdf for outline/bookmark extraction

Discovery Timeline

  • 2026-01-27 - CVE-2026-24688 published to NVD
  • 2026-01-29 - Last updated in NVD database

Technical Details for CVE-2026-24688

Vulnerability Analysis

This vulnerability is classified as CWE-835 (Loop with Unreachable Exit Condition), commonly known as an infinite loop vulnerability. The issue resides in pypdf's outline retrieval functionality, specifically within the _get_outline() method in the _doc_common.py file. When processing PDF documents containing cyclic references in their bookmark/outline structures, the library fails to detect these circular references, causing the parsing function to loop indefinitely.

The local attack vector requires an attacker to provide a malicious PDF file to the target application. While this vulnerability does not compromise confidentiality or integrity, it poses a significant availability risk. Applications processing untrusted PDF files are particularly vulnerable, as a single malicious document can render the service unresponsive.

Root Cause

The root cause of CVE-2026-24688 is the absence of cyclic reference detection in the outline traversal logic. The _get_outline() method recursively traverses the PDF's outline dictionary structure without maintaining a record of previously visited nodes. When a PDF contains circular references in its outline hierarchy (where a child node references a parent or ancestor node), the traversal enters an infinite loop with no termination condition.

Attack Vector

The attack vector requires local access, meaning an attacker must be able to supply a malicious PDF file to the vulnerable application. Common attack scenarios include:

  1. Uploading a crafted PDF to a web application that processes document outlines
  2. Sending a malicious PDF via email to be processed by automated document handling systems
  3. Providing the malicious file to any service that extracts bookmarks or navigation structures from PDF documents

The security patch implements cyclic reference detection by adding a visited parameter to track previously processed nodes:

python
         return self._get_outline()
 
     def _get_outline(
-        self, node: Optional[DictionaryObject] = None, outline: Optional[Any] = None
+        self,
+        node: Optional[DictionaryObject] = None,
+        outline: Optional[Any] = None,
+        visited: Optional[set[int]] = None,
     ) -> OutlineType:
         if outline is None:
             outline = []

Source: GitHub Commit Update

Detection Methods for CVE-2026-24688

Indicators of Compromise

  • Application processes hanging indefinitely when processing specific PDF files
  • Elevated CPU usage sustained at high levels during PDF outline extraction
  • Timeout errors in services that process PDF bookmarks or navigation structures
  • Memory consumption patterns indicating stuck processing loops

Detection Strategies

  • Monitor Python processes using pypdf for abnormal execution times during PDF processing
  • Implement timeout mechanisms around outline/bookmark extraction operations
  • Audit application dependencies to identify vulnerable pypdf versions (< 6.6.2)
  • Use SentinelOne's application control features to detect applications running outdated pypdf libraries

Monitoring Recommendations

  • Set up alerting for Python processes consuming excessive CPU time during document processing
  • Implement application-level timeouts for PDF parsing operations
  • Monitor service availability and response times for PDF processing endpoints
  • Review logs for repeated processing attempts on the same PDF file indicating potential exploitation

How to Mitigate CVE-2026-24688

Immediate Actions Required

  • Upgrade pypdf to version 6.6.2 or later immediately
  • Audit all Python applications and services for pypdf dependencies
  • Implement processing timeouts as a temporary defensive measure for applications that cannot be immediately updated
  • Review and restrict sources of PDF files being processed by vulnerable systems

Patch Information

The vulnerability has been addressed in pypdf version 6.6.2. The fix introduces cyclic reference detection by tracking visited nodes during outline traversal, preventing infinite loops when processing malicious PDFs with circular bookmark structures. Detailed information about the fix is available in the GitHub Pull Request #3610 and the GitHub Security Advisory GHSA-2q4j-m29v-hq73.

Workarounds

  • Apply the changes from PR #3610 manually if upgrading to 6.6.2 is not immediately possible
  • Implement timeout wrappers around pypdf outline/bookmark access functions
  • Restrict PDF processing to trusted sources only until the patch can be applied
  • Consider isolating PDF processing in sandboxed environments with resource limits
bash
# Upgrade pypdf to patched version
pip install --upgrade pypdf>=6.6.2

# 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

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/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-835
  • Technical References
  • GitHub Commit Update

  • GitHub Pull Request

  • GitHub Release 6.6.2

  • GitHub Security Advisory GHSA-2q4j-m29v-hq73
  • Related CVEs
  • CVE-2026-41314: pypdf Library DoS Vulnerability

  • CVE-2026-41313: pypdf Library DoS Vulnerability

  • CVE-2026-41312: pypdf Library DoS Vulnerability

  • CVE-2026-41168: pypdf Library 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