CVE-2026-113791
NoneCVSS
—
EPSS
0.4%
Published
Oct 21, 2026
CISA due date
—
Cloudanix analysis
A flaw in a PDF reading tool lets specially made files use up huge amounts of computer memory, which can make programs that open PDFs stop working.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Crafted PDF content streams containing numerous small operations trigger unbounded memory allocation during parsing, leading to exhaustion and denial of service.
Why it matters to the business
Applications or services that process untrusted PDFs may experience sudden resource spikes, crashes, or degraded performance, interrupting document workflows and requiring restarts.
How an attack unfolds
An attacker generates a malicious PDF embedding a content stream with many tiny operations, then supplies the file to any pypdf-based parser; the library allocates excessive memory while processing the stream, causing the consuming process to become unresponsive or terminate.
How to fix it
Upgrade pypdf to version 6.21.0 or later; avoid processing untrusted PDFs until patched.
How to confirm the fix worked
Confirm the installed pypdf version is at least 6.21.0; attempt to parse a test PDF known to trigger the condition and verify memory usage remains bounded.
Typical attack path
- Generate PDF containing a content stream with a large number of small operations
- Deliver the PDF to a target application that uses pypdf for parsing
- Trigger parsing of the malicious stream
- Observe memory exhaustion leading to process slowdown or crash
How to detect it
Review application and system logs for sudden spikes in memory usage or out-of-memory events during PDF processing; correlate with file ingestion timestamps.
What your security team should do
- Prioritize upgrade to pypdf 6.21.0 across all environments within the next maintenance window
- Implement input validation or sandboxing for PDF processing until patches are applied
- Monitor memory consumption metrics for PDF-handling services
- Review EPSS trend and reassess exploit maturity weekly
The record
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF containing a content stream with many small operations, causing parsing to consume large amounts of memory. This issue is fixed in version 6.21.0.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-63341 Aedes is an MQTT broker that can run on any stream server. CWE-400
- CVE-2026-62300 Filecoin Pin is an IPFS Pinning Service API implementation that pins to Filecoin's PDP… CWE-400
- CVE-2026-62254 LibreDWG is a free C library to read and write DWG files. CWE-400
- CVE-2026-62250 LibreDWG is a free C library to read and write DWG files. CWE-400
- CVE-2026-62303 Pistache is a high-performance REST toolkit written in C++. CWE-400
- CVE-2026-62160 Daptin is a GraphQL/JSON-API headless CMS. CWE-400
- CVE-2026-61848 Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3… CWE-400
- CVE-2026-61854 VoiceSentinel is a real-time voice moderation system for Minecraft servers. CWE-400