CVE-2026-24688 MEDIUM

CVE-2026-24688: pypdf has possible Infinite Loop when processing outlines/bookmarks

Vendor Py-Pdf
Product pypdf
Weakness CWE-835
Published January 27, 2026
Last update January 27, 2026

CVSS base score

5.1/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:L/SC:N/SI:N/SA:N

What the vulnerability does

01Description

pypdf is a free and open-source pure-python PDF library. An attacker who uses an infinite loop vulnerability that is present in versions prior to 6.6.2 can craft a PDF which leads to an infinite loop. This requires accessing the outlines/bookmarks. This has been fixed in pypdf 6.6.2. If projects cannot upgrade yet, consider applying the changes from PR #3610 manually.

Key dates

02Disclosure timeline

January 27, 2026 CVE published
January 27, 2026 Record updated