GitHub advisory · PyPI
pypdf: Possible large memory usage for streams with multiple filters
Description
An attacker who uses this vulnerability can craft a PDF which leads to large memory consumption. This requires accessing any stream with a large amount of filters or multiple filters which pass around large amounts of data.
This has been fixed in pypdf==6.20.0.
If you cannot upgrade yet, consider applying the changes from PR #4173.
Manual fix · PyPI
pip install --upgrade "pypdf>=6.20.0"Sources