pypdf has possible Infinite Loop when processing outlines/bookmarks
Description
Published to the GitHub Advisory Database
Jan 26, 2026
Reviewed
Jan 26, 2026
Published by the National Vulnerability Database
Jan 27, 2026
Last updated
Jan 29, 2026
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.
References