CVE-2026-27025Excessive Iteration in Pypdf

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 long runtimes and large memory consumption. This requires parsing the /ToUnicode entry of a font with unusually large values, for example during text extraction. 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-27025: pypdf is a free and open-source pure-python PDF library2026-02-20
OSV
pypdf has possible long runtimes/large memory usage for large /ToUnicode streams2026-02-18
GHSA
pypdf has possible long runtimes/large memory usage for large /ToUnicode streams2026-02-18

📋Vendor Advisories

2
Red Hat
pypdf: pypdf: Denial of Service via crafted PDF with large font values2026-02-20
Debian
CVE-2026-27025: 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-27025 Impact, Exploitability, and Mitigation Steps | Wiz