CVE-2026-41312: pypdf: Manipulated FlateDecode predictor parameters 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 a stream compressed using /FlateDecode with a /Predictor unequal 1 and large predictor parameters. 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:02 PM
Data Sourced
via MITRE·09:02 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-41312?

CVE-2026-41312 has a high severity rating due to its potential to exhaust RAM resources.

2

How do I fix CVE-2026-41312?

To fix CVE-2026-41312, update your pypdf library to version 6.10.2 or later.

3

What versions of pypdf are affected by CVE-2026-41312?

CVE-2026-41312 affects all pypdf versions prior to 6.10.2.

4

What kind of attack is possible with CVE-2026-41312?

An attacker can craft a malicious PDF that exploits CVE-2026-41312 to exhaust system RAM.

5

Is CVE-2026-41312 a local or remote vulnerability?

CVE-2026-41312 is considered a remote vulnerability as it requires the victim to open a malicious 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