GitHub advisory · PyPI
pypdf: Possible infinite loop when removing tree items
Description
An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires removing an object from a tree, for example an outline item.
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