CVE-2026-24688: pypdf has possible Infinite Loop when processing outlines/bookmarks

Published Jan 26, 2026
·
Updated

Impact

An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires accessing the outlines/bookmarks.

Patches

This has been fixed in pypdf 6.6.2.

Workarounds

If projects cannot upgrade yet, consider applying the changes from PR #3610.

Other sources

pypdf is a free and open-source pure-python PDF library. An attacker who uses an infinite loop vulnerability that is present in versions prior to 6.6.2 can craft a PDF which leads to an infinite loop. This requires accessing the outlines/bookmarks. This has been fixed in pypdf 6.6.2. If projects cannot upgrade yet, consider applying the changes from PR #3610 manually.

MITRE

Affected Software

2 affected componentsFixes available
pip/pypdf<6.6.2
6.6.2
Pypdf Project Pypdf<6.6.2

Event History

Jan 26, 2026
Advisory Published
via GitHub·11:37 PM
Data Sourced
via GitHub·11:37 PM
DescriptionWeaknessAffected Software
Jan 27, 2026
CVE Published
via MITRE·07:44 PM
Data Sourced
via MITRE·07:44 PM
DescriptionWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
RemedyAffected Software
Feb 27, 58104
Event
via FIRST·07:16 AM
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-24688?

CVE-2026-24688 is classified with a severity that indicates a potential denial of service due to an infinite loop when processing PDF outlines or bookmarks.

2

How do I fix CVE-2026-24688?

To fix CVE-2026-24688, upgrade to pypdf version 6.6.2 or later.

3

What software is affected by CVE-2026-24688?

CVE-2026-24688 affects pypdf versions prior to 6.6.2.

4

Can CVE-2026-24688 be exploited remotely?

Yes, an attacker can exploit CVE-2026-24688 remotely by crafting a malicious PDF with specific outlines/bookmarks.

5

What should I do if I cannot upgrade pypdf to fix CVE-2026-24688?

If upgrading is not possible, consider implementing input validation or sandboxing to mitigate the effects of CVE-2026-24688.

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