CVE-2026-24688 json
pypdf has possible Infinite Loop when processing outlines/bookmarks
published 2026-01-26 9 mo ago modified 2026-11-02 6 d ago also EUVD-2026-4753 , GHSA-2q4j-m29v-hq73 , PYSEC-2026-1827
- cvss
- 4.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 38%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi pypdf 6.6.2
- py-pdf pypdf 6.6.2
- pypdf2_project pypdf2 6.6.2
- pypdf_project pypdf 6.6.2
- pypdf Debian 14 6.9.0-1
debian advisories DEBIAN-CVE-2026-24688
- python-pypdf openSUSE Tumbleweed 6.6.2-1.1
opensuse advisories openSUSE-SU-2026:10116-1
- github.com/py-pdf/pypdf@b1282f8 commit
- github.com/py-pdf/pypdf#3610 pull request
- github.com/py-pdf/pypdf/releases/tag/6.6.2 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-24688 updated cvss 5.3
pypdf: pypdf Infinite Loop when processing outlines/bookmarks
-
Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-ocp-rag-rhel9, openshift-lightspeed/lightspeed-service-api-rhel9, openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9 Red Hat Ansible Automation Platform 2 ansible-automation-platform/ee-minimal-rhel8, ansible-automation-platform/ee-minimal-rhel9, ansible-automation-platform-24/de-minimal-rhel8, ansible-automation-platform-24/de-minimal-rhel9, ansible-automation-platform-24/ee-minimal-rhel8, ansible-automation-platform-24/ee-minimal-rhel9, +23 more Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/disk-image-cuda-rhel9 Red Hat OpenShift AI (RHOAI) rhoai/odh-llama-stack-core-rhel9affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 9 mo ago
Exploit prediction
0.45% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.1 | 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 |
| CNA | 4.0 | 5.1 | 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 |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pypdf | <6.6.2 |
6.6.2 |
Affected products
- py-pdf pypdf
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
github.com
/py-pdf/pypdf/pull/3610
web, issue-tracking
-
github.com
/py-pdf/pypdf/commit/b1282f8dcdc1a7b41ceab6740ffddfdf31b1fec1
web, patch
-
github.com
/py-pdf/pypdf/security/advisories/GHSA-2q4j-m29v-hq73
web, vendor-advisory
-
github.com
/py-pdf/pypdf/releases/tag/6.6.2
web, product, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-24688
advisory
-
github.com
/py-pdf/pypdf
package
-
pypi.org
/project/pypdf
package
-
github.com
/advisories/GHSA-2q4j-m29v-hq73
advisory
Sources
- CVE List CVE-2026-24688
- GitHub Advisory GHSA-2q4j-m29v-hq73
- NVD CVE-2026-24688
- OSV PYSEC-2026-1827
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.