pypdf has a possible infinite loop when loading circular /Prev entries in cross-reference streams
At a glance
Severity
LOW 1.2
EPSS
EPSS 0.40 % · percentile 34 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
NVD status
Modified
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.7.2, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires reading the file. This has been fixed in pypdf 6.7.2. As a workaround, one may apply the patch manually.