Ubuntu CVE Tracker
UBUNTU-CVE-2026-24688
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | pypdf2 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | pypdf2 | All versions, no fix listed |
| Ubuntu:20.04:LTS | pypdf2 | All versions, no fix listed |
| Ubuntu:22.04:LTS | pypdf2 | All versions, no fix listed |
| Ubuntu:24.04:LTS | pypdf | All versions, no fix listed |
| Ubuntu:24.04:LTS | pypdf2 | All versions, no fix listed |
| Ubuntu:25.10 | pypdf | All versions, no fix listed |
| Ubuntu:26.10 | pypdf | All versions, no fix listed |
| Ubuntu:26.04:LTS | pypdf | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2026-24688
- https://www.cve.org/CVERecord?id=CVE-2026-24688
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-2q4j-m29v-hq73
- https://github.com/py-pdf/pypdf/pull/3610
- https://github.com/py-pdf/pypdf/commit/b1282f8dcdc1a7b41ceab6740ffddfdf31b1fec1
- https://github.com/py-pdf/pypdf/releases/tag/6.6.2