pypdf vulnerable to inefficient decoding of ASCIIHexDecode streams
Description
Published to the GitHub Advisory Database
Mar 2, 2026
Reviewed
Mar 2, 2026
Published by the National Vulnerability Database
Mar 6, 2026
Last updated
Mar 6, 2026
Impact
An attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires accessing a stream which uses the
/ASCIIHexDecodefilter.Patches
This has been fixed in pypdf==6.7.5.
Workarounds
If you cannot upgrade yet, consider applying the changes from PR #3666.
References