CVE-2026-27024Infinite Loop in Pypdf

CWE-835Infinite Loop7 documents6 sources
Severity
6.9MEDIUMNVD
EPSS
0.0%
top 99.76%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 20

Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.7.1, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires accessing the children of a TreeObject, for example as part of outlines. This vulnerability is fixed in 6.7.1.

CVSS vector

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected Packages6 packages

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

Patches

🔴Vulnerability Details

3
OSV
CVE-2026-27024: pypdf is a free and open-source pure-python PDF library2026-02-20
GHSA
pypdf has a possible infinite loop when processing TreeObject2026-02-18
OSV
pypdf has a possible infinite loop when processing TreeObject2026-02-18

📋Vendor Advisories

2
Red Hat
pypdf: pypdf: Denial of Service via crafted PDF with TreeObject outlines2026-02-20
Debian
CVE-2026-27024: pypdf - pypdf is a free and open-source pure-python PDF library. Prior to 6.7.1, an atta...2026

🕵️Threat Intelligence

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