GitHub advisory · PyPI
pypdf has possible infinite loop when cloning dictionaries
Description
An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires cloning/duplicating a DictionaryObject.
This has been fixed in pypdf==6.21.4.
If you cannot upgrade yet, consider applying the changes from PR #4288.
Manual fix · PyPI
pip install --upgrade "pypdf>=6.21.4"Sources