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

CVE-2026-28804: Pypdf_project Pypdf DOS Vulnerability

CVE-2026-28804 is a denial of service flaw in Pypdf_project Pypdf that allows attackers to craft malicious PDFs causing long runtimes. This post covers the technical details, affected versions, impact, and mitigation.

Published: March 13, 2026

CVE-2026-28804 Overview

CVE-2026-28804 is an algorithmic complexity vulnerability in pypdf, a free and open-source pure-python PDF library. Prior to version 6.7.5, an attacker can craft a malicious PDF document that leads to excessive runtime when processing streams using the /ASCIIHexDecode filter. This denial of service condition occurs due to inefficient algorithmic handling in the filter's decoding logic, allowing resource exhaustion attacks against applications that process untrusted PDF files.

Critical Impact

Applications using vulnerable pypdf versions to process untrusted PDF documents are susceptible to denial of service attacks through crafted PDFs with malicious ASCIIHexDecode streams, potentially causing service unavailability.

Affected Products

  • pypdf_project pypdf versions prior to 6.7.5

Discovery Timeline

  • 2026-03-06 - CVE-2026-28804 published to NVD
  • 2026-03-10 - Last updated in NVD database

Technical Details for CVE-2026-28804

Vulnerability Analysis

This vulnerability falls under CWE-407 (Inefficient Algorithmic Complexity). The pypdf library's /ASCIIHexDecode filter implementation contained inefficient processing logic that could be exploited to cause excessive CPU consumption. When parsing a specially crafted PDF stream utilizing this filter, the decoding routine would exhibit poor algorithmic performance, resulting in prolonged execution times that could render the application unresponsive.

The ASCIIHexDecode filter is used in PDF documents to encode binary data as hexadecimal characters. Malicious PDFs can be constructed to trigger worst-case algorithmic behavior in the vulnerable implementation, making this an effective vector for denial of service attacks against document processing systems, web applications accepting PDF uploads, and automated document workflows.

Root Cause

The root cause lies in the inefficient implementation of the ASCIIHexDecode filter within the pypdf/filters.py module. The original implementation did not leverage optimized binary conversion methods, leading to algorithmic complexity issues when processing large or maliciously structured hexadecimal streams. The fix introduces the binascii module for improved hexadecimal decoding performance.

Attack Vector

The attack is network-exploitable without authentication or user interaction. An attacker can submit a malicious PDF to any service using a vulnerable pypdf version. The attack payload consists of a PDF document containing a stream object with the /ASCIIHexDecode filter configured to trigger the inefficient processing path. When the application attempts to decode this stream, it enters an extended processing state, consuming CPU resources and potentially blocking other operations.

python
# Security patch in pypdf/filters.py
# Source: GitHub Commit 648c627d2657447dfb1773412af05a0a5103b98f

 __author__ = "Mathieu Fenniak"
 __author_email__ = "biziqe@mathieu.fenniak.net"

+import binascii
 import math
 import os
 import shutil

Source: GitHub Commit for pypdf

The patch adds the binascii module import, which provides optimized C-level functions for hexadecimal encoding/decoding operations, replacing the slower pure-Python implementation.

Detection Methods for CVE-2026-28804

Indicators of Compromise

  • Abnormally long PDF processing times or timeouts in application logs
  • High CPU utilization spikes when processing specific PDF documents
  • Application hang or unresponsiveness triggered by PDF file uploads
  • Memory or resource exhaustion errors in pypdf-dependent services

Detection Strategies

  • Monitor application performance metrics for anomalous processing durations when handling PDF files
  • Implement request timeout mechanisms for PDF processing operations to detect potential exploitation attempts
  • Scan Python dependencies using software composition analysis (SCA) tools to identify vulnerable pypdf versions
  • Review application logs for repeated timeout or resource exhaustion events associated with PDF processing

Monitoring Recommendations

  • Deploy application performance monitoring (APM) to track PDF processing duration baselines and alert on deviations
  • Configure resource limits (CPU, memory, timeout) for processes handling PDF documents
  • Implement rate limiting on PDF upload endpoints to mitigate mass exploitation attempts
  • Use SentinelOne Singularity to monitor for process behavior anomalies associated with resource exhaustion attacks

How to Mitigate CVE-2026-28804

Immediate Actions Required

  • Upgrade pypdf to version 6.7.5 or later immediately
  • Audit applications and dependencies to identify all instances of vulnerable pypdf versions
  • Implement input validation and timeout controls for PDF processing functionality
  • Consider temporarily disabling PDF processing from untrusted sources until patching is complete

Patch Information

The vulnerability has been addressed in pypdf version 6.7.5. The fix improves the performance of the ASCIIHexDecode filter by utilizing Python's optimized binascii module for hexadecimal decoding operations. Organizations should update their pypdf dependency to the patched version.

For detailed patch information, refer to the GitHub Security Advisory GHSA-9m86-7pmv-2852 and GitHub Pull Request #3666.

Workarounds

  • Implement strict timeout limits for PDF processing operations to prevent extended resource consumption
  • Deploy input size restrictions on PDF uploads to reduce attack surface
  • Run PDF processing in isolated sandboxed environments with resource constraints
  • Consider pre-screening PDF files for suspicious stream configurations before processing
bash
# Configuration example - Update pypdf using pip
pip install --upgrade pypdf>=6.7.5

# 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 Score6.9

  • 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: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-407
  • Technical References
  • GitHub Release Version 6.7.5
  • Vendor Resources
  • GitHub Commit for pypdf

  • GitHub Pull Request #3666

  • GitHub Security Advisory GHSA-9m86-7pmv-2852
  • 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-28351: Pypdf_project Pypdf DOS 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