CVE-2026-115572: CWE-400: Uncontrolled Resource Consumption in py-pdf pypdf
Description
pypdf versions prior to 6.21.2 contain a vulnerability where an attacker can craft a PDF that repeatedly references the same nonexistent indirect object. This causes repeated full-file recovery loads and long runtimes when accessing certain file parts such as pages. The issue is fixed in version 6.21.2.
CVSS v4.0
Score 7.1high
Affected software
py-pdf
pypdf
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-115572 is an uncontrolled resource consumption vulnerability (CWE-400) in the pypdf library, a pure-Python PDF processing tool. Versions before 6.21.2 allow an attacker to create a malicious PDF that repeatedly references the same nonexistent indirect object. This triggers repeated full-file recovery operations, causing excessive CPU and memory usage and significantly increased processing time when accessing affected parts of the PDF, such as pages. The vulnerability is addressed by a fix in pypdf version 6.21.2.
Potential Impact
An attacker can cause denial of service or degraded performance by forcing the pypdf library to consume excessive resources during PDF processing. This can lead to long runtimes and potential application unavailability when handling crafted malicious PDFs. There is no indication of privilege escalation or data disclosure from the provided data.
Mitigation Recommendations
Upgrade pypdf to version 6.21.2 or later, where this uncontrolled resource consumption vulnerability is fixed. No other mitigation actions are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-22T22:53:15.238Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6adbbaa6d73cc49347b780ea
Added to database: 10/23/2026, 19:51:02 UTC
Last enriched: 10/23/2026, 20:05:14 UTC
Last updated: 10/23/2026, 20:05:14 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.