GitHub advisory · PyPI
pypdf: Possible infinite loop in PdfWriter.find_outline_item
Description
An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires calling find_outline_item on a PdfWriter.
This has been fixed in pypdf==6.20.1.
If you cannot upgrade yet, consider applying the changes from PR #4188.
Manual fix · PyPI
pip install --upgrade "pypdf>=6.20.1"Sources