CVE-2026-27025 MEDIUM

CVE-2026-27025: pypdf has possible long runtimes/large memory usage for large /ToUnicode streams

Vendor Py-Pdf
Product pypdf
Weakness CWE-834
Published February 20, 2026
Last update February 24, 2026

CVSS base score

6.9/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

February 20, 2026 CVE published
February 24, 2026 Record updated