GitHub advisory · PyPI
pypdf: Possible infinite loop for not terminated inline images
Description
An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires parsing the content stream of a page with a not terminated inline image, as done when extracting the page text for example.
This has been fixed in pypdf==6.14.1.
If you cannot upgrade yet, consider applying the changes from PR #3891.
Manual fix · PyPI
pip install --upgrade "pypdf>=6.14.1"Sources