CVE-2026-24688Py-pdf Pypdf
Medium 5.1
Follow: this CVE · Py-pdf · Py-pdf Pypdf We alert you by email or Slack (account required).
- Priority
- 31
- CVSS 4.0
- 5.1
- EPSS
- —
- Auth required
- Yes
- Published
- Jan 27, 2026
- Updated
- Nov 2, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-835
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Pypdf.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pypdf |
< 6.6.2 |
6.6.2 |
pip install "pypdf>=6.6.2" |
| PyPI | pypdf |
< 6.6.2 |
6.6.2 |
pip install "pypdf>=6.6.2" |
Per OSV / GitHub Advisories (GHSA-2q4j-m29v-hq73, PYSEC-2026-1827). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| py-pdf | pypdf | < 6.6.2 |
Official advisories
- python311-pypdf-6.6.2-1.1 on GA media · SUSE · openSUSE-SU-2026:10116-1 · Jan 29, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking
- github.com Product Release Notes
- github.com Vendor Advisory