← News
Pypdf: Denial of service via memory exhaustion
HighAI-generated2026-11-22
- CVE
- CVE-2026-134367
- Severity
- High (CVSS 7.5)
- Attack conditions
- Remotely, over the network · No account needed · No user action needed
- Exploitation probability (EPSS)
- 0.3% (within 30 days; FIRST EPSS, 27 November 2026)
Summary
The pypdf library versions prior to 7.0.0 are vulnerable to a resource exhaustion issue that can be triggered by specially crafted PDFs, leading to denial of service.
Details
According to the NVD record, pypdf versions 2.4.2 up to but not including 7.0.0 contain a resource exhaustion vulnerability in the handling of XFA forms. The flaw allows a malicious PDF with many small XFA fields to consume excessive memory when opened.
An attacker can exploit this by providing a crafted PDF that forces the application to allocate large amounts of memory, potentially crashing the program or making it unavailable to legitimate users.
What to do
Upgrade to pypdf version 7.0.0 or later.
Sources
Timeline
- 21 November 2026 NVD record published
- 22 November 2026 This article was written