CVE-2026-24688Infinite Loop in Pypdf

CWE-835Infinite Loop7 documents6 sources
Severity
5.1MEDIUMNVD
EPSS
0.0%
top 98.50%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJan 27

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.

CVSS 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

Affected Packages6 packages

CVEListV5py-pdf/pypdf< 6.6.2
debiandebian/pypdf< pypdf 6.9.0-1 (forky)
debiandebian/pypdf2< pypdf 6.9.0-1 (forky)
NVDpypdf_project/pypdf< 6.6.2
PyPIpypdf_project/pypdf< 6.6.2

Patches

🔴Vulnerability Details

3
OSV
CVE-2026-24688: pypdf is a free and open-source pure-python PDF library2026-01-27
GHSA
pypdf has possible Infinite Loop when processing outlines/bookmarks2026-01-26
OSV
pypdf has possible Infinite Loop when processing outlines/bookmarks2026-01-26

📋Vendor Advisories

2
Red Hat
pypdf: pypdf Infinite Loop when processing outlines/bookmarks2026-01-27
Debian
CVE-2026-24688: pypdf - pypdf is a free and open-source pure-python PDF library. An attacker who uses an...2026

🕵️Threat Intelligence

1
Wiz
CVE-2026-24688 Impact, Exploitability, and Mitigation Steps | Wiz