CVE-2026-137549: pypdf before 7.0.1 Excessive Memory Usage via Crafted PDF Images
pypdf before 7.0.1 contains a resource exhaustion vulnerability in image loading because data size estimates for some image modes are too low, defeating limits for filters without their own size limit. Attackers can craft a PDF whose images, when loaded, cause large memory usage and denial of service.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Applications using pypdf versions before 7.0.1 that load PDFs are exposed, particularly where they process attacker-controlled or otherwise untrusted PDF files.
What does an attacker need to exploit it?
An attacker needs to provide a crafted PDF containing images that trigger underestimated data-size calculations during image loading. No privileges or user interaction are required according to the supplied vector.
What is the impact of successful exploitation?
Loading the crafted PDF can consume large amounts of memory and cause a denial of service. The provided impact assessment indicates availability impact only, with no confidentiality or integrity impact.
How can this be remediated?
Upgrade pypdf to version 7.0.1 or later. The issue affects versions before 7.0.1.