CVE-2026-27628Infinite Loop in Pypdf

CWE-835Infinite Loop7 documents6 sources
Severity
1.2LOWNVD
EPSS
0.1%
top 83.48%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 25

Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.7.2, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires reading the file. This has been fixed in pypdf 6.7.2. As a workaround, one may apply the patch manually.

CVSS vector

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

Affected Packages6 packages

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

Patches

🔴Vulnerability Details

3
OSV
CVE-2026-27628: pypdf is a free and open-source pure-python PDF library2026-02-25
OSV
pypdf has a possible infinite loop when loading circular /Prev entries in cross-reference streams2026-02-25
GHSA
pypdf has a possible infinite loop when loading circular /Prev entries in cross-reference streams2026-02-25

📋Vendor Advisories

2
Red Hat
pypdf: possible infinite loop when loading circular /Prev entries in cross-reference streams2026-02-25
Debian
CVE-2026-27628: pypdf - pypdf is a free and open-source pure-python PDF library. Prior to 6.7.2, an atta...2026

🕵️Threat Intelligence

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