CVE-2026-27024 MEDIUM

CVE-2026-27024: pypdf has a possible infinite loop when processing TreeObject

Vendor Py-Pdf
Product pypdf
Weakness CWE-835
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 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.

Key dates

02Disclosure timeline

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