CVE-2026-145091: pypdf before 7.1.1 Memory Exhaustion via Inline Image Fallback Parsing
pypdf before 7.1.1 contains a resource exhaustion vulnerability that allows attackers to trigger large memory usage through the inline image fallback parsing path. Attackers can craft a malicious PDF whose content stream invokes the inline image fallback parser, consuming excessive memory and causing denial of service.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Applications using pypdf versions before 7.1.1 are exposed if they process attacker-controlled or otherwise untrusted PDF files. The impact is denial of service through excessive memory consumption.
What does an attacker need to exploit it?
An attacker needs to provide a crafted PDF whose content stream triggers the inline image fallback parsing path. The supplied vector indicates exploitation can be performed remotely without privileges or user interaction.
What should be done to remediate the issue?
Upgrade pypdf to version 7.1.1 or later. Until upgrading is possible, avoid processing untrusted PDFs with affected versions.