pypdf is a free and open-source pure-python PDF library. An attacker who uses an infinite loop vulnerability that is present in versions prior to 6.6.2 can craft a PDF which leads to an infinite loop. This requires accessing the outlines/bookmarks. This has been fixed in pypdf 6.6.2. If projects cannot upgrade yet, consider applying the changes from PR #3610 manually.
CVE-2026-24688
CVSS base score
4.3 (v3.1)
Severity
MEDIUM
Attack vector
Network
Weakness
CWE-835
Last modified
November 2, 2026
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Affected products
py-pdf pypdf
References
- github.com Patch
- github.com Issue Tracking
- github.com Product, Release Notes
- github.com Vendor Advisory