GitHub advisory · PyPI
pypdf: Possible infinite loop when hitting EOF in standard xref table
Description
An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires an incomplete file which ends inside the xref table.
This has been fixed in pypdf==6.20.0.
If you cannot upgrade yet, consider applying the changes from PR #4170.
This has been reported through both the secure channel and as a public issue at #4169.
Manual fix · PyPI
pip install --upgrade "pypdf>=6.20.0"Sources