CVE-2026-113789: CWE-400: Uncontrolled Resource Consumption in py-pdf pypdf
Description
CVE-2026-113789 is a vulnerability in the py-pdf pypdf library prior to version 6.21.0. It allows an attacker to craft a malicious PDF that triggers uncontrolled resource consumption, leading to excessive memory usage or prolonged processing times when the application extracts form fields from the document. This issue has been addressed and fixed in version 6.21.0.
CVSS v4.0
Score 6.0medium
Affected software
py-pdf
pypdf
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2026-113789 affects the py-pdf pypdf library versions before 6.21.0. An attacker can create a specially crafted PDF file that, when processed to retrieve form fields, causes the application to consume excessive memory or experience long runtimes. This uncontrolled resource consumption can degrade application performance or lead to denial-of-service conditions. The issue is resolved in pypdf version 6.21.0.
Potential Impact
Exploitation of this vulnerability can cause applications using affected versions of pypdf to consume large amounts of memory or experience significant delays during PDF form field extraction. This can degrade service availability or performance but does not directly lead to code execution or data compromise based on the provided data.
Mitigation Recommendations
Upgrade to pypdf version 6.21.0 or later, where this vulnerability has been fixed. No additional mitigation steps are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-20T17:39:41.372Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ad8e1cc4d27ba8daabfb4ef
Added to database: 10/21/2026, 16:01:16 UTC
Last enriched: 10/21/2026, 16:15:37 UTC
Last updated: 10/21/2026, 16:16:22 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.