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.
References
| Link | Resource |
|---|---|
| https://github.com/py-pdf/pypdf/commit/b1282f8dcdc1a7b41ceab6740ffddfdf31b1fec1 | Patch |
| https://github.com/py-pdf/pypdf/pull/3610 | Issue Tracking |
| https://github.com/py-pdf/pypdf/releases/tag/6.6.2 | Product Release Notes |
| https://github.com/py-pdf/pypdf/security/advisories/GHSA-2q4j-m29v-hq73 | Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-01-27 20:16
Updated : 2026-02-25 17:40
NVD link : CVE-2026-24688
Mitre link : CVE-2026-24688
CVE.ORG link : CVE-2026-24688
JSON object : View
Products Affected
pypdf_project
- pypdf
CWE
CWE-835
Loop with Unreachable Exit Condition ('Infinite Loop')
