CVE-2026-113790
NoneCVSS
—
EPSS
0.4%
Published
Oct 21, 2026
CISA due date
—
Cloudanix analysis
A PDF handling library can be overwhelmed by specially built files that use up huge amounts of memory, potentially crashing any service that reads PDFs.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Low
- Patch risk
- Low
What it actually does
The vulnerability allows crafted PDF files containing arrays or dictionaries with an extremely high element count to trigger unbounded memory allocation during parsing in pypdf versions prior to 6.21.0.
Why it matters to the business
Applications that ingest untrusted PDFs may experience sudden memory exhaustion, resulting in service crashes or degraded performance until the process is restarted; the issue is recent with a modest but rising exploitation probability.
How an attack unfolds
An attacker generates a minimal PDF containing one or more arrays or dicts populated with millions of elements, then supplies the file to any application that uses a vulnerable pypdf version to open or read the document; parsing immediately allocates large amounts of RAM and may cause the process or host to become unresponsive.
How to fix it
Upgrade pypdf to version 6.21.0 or later in all environments that process PDF files.
How to confirm the fix worked
Confirm the installed pypdf version is at least 6.21.0; optionally replay a minimal high-element-count PDF against a test instance and verify memory usage remains bounded.
Typical attack path
- Create a PDF with one or more arrays or dictionaries containing millions of elements
- Deliver the file to a target application that parses PDFs with pypdf
- Trigger parsing of the malicious PDF
- Observe memory consumption leading to denial of service
How to detect it
Monitor for sudden spikes in memory usage or out-of-memory events in processes that call pypdf PDF parsing functions; inspect application logs for unusually long parse times on incoming PDF files.
What your security team should do
- Immediately upgrade all pypdf installations to 6.21.0 or newer
- Add PDF parsing processes to resource-limit monitoring and alerting
- Review any custom PDF ingestion pipelines for untrusted input handling
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 arrays or dictionaries with many elements, 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