CVE-2026-41314: pypdf: Manipulated FlateDecode image dimensions can exhaust RAM

Published Apr 22, 2026
·
Updated

pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability present in versions prior to 6.10.2 can craft a PDF which leads to the RAM being exhausted. This requires accessing an image using /FlateDecode with large size values. This has been fixed in pypdf 6.10.2. As a workaround, one may apply the changes from the patch manually.

Affected Software

2 affected components
pypi/pypdf<6.10.2
Pypdf Project Pypdf<6.10.2

Event History

Apr 22, 2026
CVE Published
via MITRE·09:08 PM
Data Sourced
via MITRE·09:08 PM
DescriptionWeakness
Data Sourced
via NVD·10:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-41314?

CVE-2026-41314 has a high severity rating due to its potential to exhaust system RAM.

2

How do I fix CVE-2026-41314?

To fix CVE-2026-41314, upgrade to pypdf version 6.10.2 or later.

3

What causes CVE-2026-41314?

CVE-2026-41314 is caused by manipulated FlateDecode image dimensions in PDF files that lead to RAM exhaustion.

4

Which versions of pypdf are affected by CVE-2026-41314?

Versions of pypdf prior to 6.10.2 are affected by CVE-2026-41314.

5

Can CVE-2026-41314 be exploited remotely?

Yes, CVE-2026-41314 can be exploited remotely if a user opens a maliciously crafted PDF.

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