CVE-2026-24688
MEDIUM4.3EPSS 0.01%pypdf has possible Infinite Loop when processing outlines/bookmarks
Published: 1/26/2026Modified: 4/28/2026
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.
Affected packages (3)
- Debian/pypdffrom 0
- Debian/pypdf2from 0
- PyPI/pypdffrom 0, < 6.6.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-24688
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-24688
- PATCHhttps://github.com/py-pdf/pypdf
- WEBhttps://github.com/py-pdf/pypdf/commit/b1282f8dcdc1a7b41ceab6740ffddfdf31b1fec1
- WEBhttps://github.com/py-pdf/pypdf/pull/3610
- WEBhttps://github.com/py-pdf/pypdf/releases/tag/6.6.2
- WEBhttps://github.com/py-pdf/pypdf/security/advisories/GHSA-2q4j-m29v-hq73