Description
pypdf is a free and open-source pure-python PDF library. Versions prior to 6.9.2 have a vulnerability in which an attacker can craft a PDF which leads to an infinite loop. This requires reading a file in non-strict mode. This has been fixed in pypdf 6.9.2. If users cannot upgrade yet, consider applying the changes from the patch manually.
Problem types
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Product status
References
github.com/.../pypdf/security/advisories/GHSA-87mj-5ggw-8qc3
github.com/py-pdf/pypdf/pull/3693
github.com/py-pdf/pypdf/releases/tag/6.9.2