Vulnerability record · PyPI
PYSEC-2026-3913
Description
An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires a (usually writing) code path where TreeObject.insert_child is involved.
This has been fixed in pypdf==6.16.0.
If you cannot upgrade yet, consider applying the changes from PR #3964.
Manual fix · PyPI
pip install --upgrade "pypdf>=6.16.0"Sources