Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Pypdf Project | Pypdf | < 6.6.2 |
Related Weaknesses (CWE)
References
- https://github.com/py-pdf/pypdf/commit/b1282f8dcdc1a7b41ceab6740ffddfdf31b1fec1Patch
- https://github.com/py-pdf/pypdf/pull/3610Issue Tracking
- https://github.com/py-pdf/pypdf/releases/tag/6.6.2ProductRelease Notes
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-2q4j-m29v-hq73Vendor Advisory
FAQ
What is CVE-2026-24688?
CVE-2026-24688 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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....
How severe is CVE-2026-24688?
CVE-2026-24688 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-24688?
Check the references section above for vendor advisories and patch information. Affected products include: Pypdf Project Pypdf.