Vulnerability in Py-Pdf Pypdf
CVE-2026-24688
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.004, 39.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Py-Pdf Pypdf — versions < 6.6.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- Fomovet/cve-2026-24688 (last pushed 2026-06-21): POC for CVE-2026-24688
- JoakimBulow/CVE-2026-24688 (last pushed 2026-01-27): CVE-2026-24688 - pypdf - DoS - POC
References
- github.com/py-pdf/pypdf/security/advisories/GHSA-2q4j-m29v-hq73 (Vendor Advisory)
- github.com/py-pdf/pypdf/pull/3610 (Issue Tracking)
- github.com/py-pdf/pypdf/commit/b1282f8dcdc1a7b41ceab6740ffddfdf31b1fec1 (Patch)
- github.com/py-pdf/pypdf/releases/tag/6.6.2 (Product, Release Notes)
This CVE has public exploit evidence. See the latest CVEs with public exploits.