CVE-2026-137549: pypdf before 7.0.1 Excessive Memory Usage via Crafted PDF Images

Published Nov 26, 2026
·
Updated

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

1 affected component
pypi/pypdf<7.0.1

Event History

Nov 26, 2026
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:18 PM
DescriptionSeverityWeakness
Event
via NVD·04:18 PM

Frequently Asked Questions

1

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.

2

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.

3

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.

4

How can this be remediated?

Upgrade pypdf to version 7.0.1 or later. The issue affects versions before 7.0.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203