CVE-2026-41313: pypdf: Possible long runtimes for wrong size values in incremental mode

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 long runtimes. This requires loading a PDF with a large trailer /Size value in incremental mode. 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:04 PM
Data Sourced
via MITRE·09:04 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-41313?

The severity of CVE-2026-41313 is considered to be significant due to the potential for long runtimes caused by specially crafted PDFs.

2

How do I fix CVE-2026-41313?

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

3

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

All versions of pypdf prior to 6.10.2 are affected by CVE-2026-41313.

4

What type of attack does CVE-2026-41313 enable?

CVE-2026-41313 enables an attacker to create a PDF that results in long processing times, leading to potential resource exhaustion.

5

Is CVE-2026-41313 related to any specific functionality in pypdf?

CVE-2026-41313 is specifically related to the library's incremental mode when handling large trailer sizes.

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