Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.13.0, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires extracting the text in layout mode. This vulnerability is fixed in 6.13.0.
Problem types
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Product status
References
github.com/.../pypdf/security/advisories/GHSA-52x6-gq3r-vpf4
github.com/py-pdf/pypdf/pull/3830
github.com/py-pdf/pypdf/releases/tag/6.13.0