Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-28804: CWE-407: Inefficient Algorithmic Complexity in py-pdf pypdf

0
Medium
VulnerabilityCVE-2026-28804cvecve-2026-28804cwe-407
Published: Fri Mar 06 2026 (03/06/2026, 06:46:28 UTC)
Source: CVE Database V5
Vendor/Project: py-pdf
Product: pypdf

Description

CVE-2026-28804 is a medium severity vulnerability in the py-pdf pypdf library prior to version 6. 7. 5. It involves inefficient algorithmic complexity (CWE-407) when processing PDF streams that use the /ASCIIHexDecode filter. An attacker can craft a malicious PDF that triggers long runtimes, potentially causing denial of service by exhausting processing resources. This vulnerability requires no authentication or user interaction and can be exploited remotely by supplying a specially crafted PDF to an application using the affected pypdf versions. The issue has been fixed in version 6. 7. 5. Organizations using vulnerable versions of pypdf in their PDF processing workflows should upgrade promptly to mitigate risk.

AI-Powered Analysis

AILast updated: 03/06/2026, 07:15:46 UTC

Technical Analysis

CVE-2026-28804 is an algorithmic complexity vulnerability classified under CWE-407 affecting the py-pdf pypdf library versions prior to 6.7.5. The vulnerability arises when the library processes PDF streams filtered with /ASCIIHexDecode. An attacker can craft a malicious PDF file that causes the library to enter a state of inefficient processing, leading to significantly prolonged runtimes. This can result in resource exhaustion, effectively causing a denial of service (DoS) condition in applications that parse or manipulate PDFs using the vulnerable pypdf versions. The vulnerability does not require any privileges, authentication, or user interaction, making it remotely exploitable by simply providing the malicious PDF input. The root cause is the inefficient handling of the ASCIIHexDecode filter stream, which can be exploited to trigger excessive CPU consumption. The issue was addressed and patched in pypdf version 6.7.5, which optimizes the decoding process to prevent such runtime degradation. The CVSS 4.0 vector indicates network attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and low impact on availability (VA:L), with no impact on confidentiality or integrity. No known exploits have been reported in the wild as of the publication date. This vulnerability primarily affects any software or services that rely on pypdf for PDF processing and have not updated to the fixed version.

Potential Impact

The primary impact of CVE-2026-28804 is a denial of service condition caused by resource exhaustion due to inefficient processing of crafted PDF files. Organizations using vulnerable versions of pypdf in automated PDF processing pipelines, document management systems, or web services that accept PDF uploads are at risk. Exploitation could lead to application slowdowns, crashes, or unavailability, disrupting business operations and potentially causing service outages. Since the vulnerability does not affect confidentiality or integrity, data breaches or unauthorized data modification are unlikely. However, the availability impact can be significant for high-volume or critical PDF processing environments. Attackers could leverage this vulnerability to perform targeted DoS attacks against organizations that rely on pypdf, especially if exposed to untrusted PDF inputs. The lack of authentication or user interaction requirements increases the risk of exploitation. While no known exploits exist currently, the medium severity and ease of exploitation warrant prompt remediation to prevent future attacks.

Mitigation Recommendations

To mitigate CVE-2026-28804, organizations should immediately upgrade all instances of the pypdf library to version 6.7.5 or later, where the vulnerability is patched. For environments where immediate upgrade is not feasible, implement input validation and filtering to block or sanitize PDF files containing /ASCIIHexDecode streams from untrusted sources. Employ rate limiting and resource usage monitoring on PDF processing services to detect and mitigate abnormal processing times indicative of exploitation attempts. Consider sandboxing or isolating PDF processing components to contain potential denial of service impacts. Additionally, maintain updated threat intelligence to monitor for any emerging exploits targeting this vulnerability. Regularly audit and update third-party dependencies like pypdf to ensure timely application of security patches. Finally, educate developers and system administrators about the risks of algorithmic complexity vulnerabilities and the importance of secure PDF handling.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-03T14:25:19.246Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69aa7bb0c48b3f10ff245871

Added to database: 3/6/2026, 7:01:04 AM

Last enriched: 3/6/2026, 7:15:46 AM

Last updated: 3/6/2026, 3:08:52 PM

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses