Moderate severityOSV Advisory· Published Jan 27, 2026· Updated Jan 27, 2026
pypdf has possible Infinite Loop when processing outlines/bookmarks
CVE-2026-24688
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pypdfPyPI | < 6.6.2 | 6.6.2 |
Affected products
6- osv-coords5 versionspkg:apk/chainguard/nemopkg:apk/chainguard/open-webuipkg:apk/wolfi/open-webuipkg:pypi/pypdfpkg:rpm/opensuse/python-pypdf&distro=openSUSE%20Tumbleweed
< 2.6.1-r4+ 4 more
- (no CPE)range: < 2.6.1-r4
- (no CPE)range: < 0.8.3-r1
- (no CPE)range: < 0.8.3-r1
- (no CPE)range: < 6.6.2
- (no CPE)range: < 6.6.2-1.1
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-2q4j-m29v-hq73ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-24688ghsaADVISORY
- github.com/py-pdf/pypdf/commit/b1282f8dcdc1a7b41ceab6740ffddfdf31b1fec1ghsax_refsource_MISCWEB
- github.com/py-pdf/pypdf/pull/3610ghsax_refsource_MISCWEB
- github.com/py-pdf/pypdf/releases/tag/6.6.2ghsax_refsource_MISCWEB
- github.com/py-pdf/pypdf/security/advisories/GHSA-2q4j-m29v-hq73ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.