Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.3

pypdf: Infinite Loop in Processing PDF Outlines

CVE-2026-27024 GHSA-996q-pr4m-cvgq CVE-2026-27024
Summary

An attacker can create a malicious PDF that causes pypdf to run indefinitely. This could lead to a denial-of-service (DoS) situation. Update to version 6.7.1 or later to fix this issue.

What to do
  • Update pypdf to version 6.7.1.
Affected software
VendorProductAffected versionsFix available
pypdf <= 6.7.1 6.7.1
pypdf_project pypdf <= 6.7.1
Original title
pypdf has a possible infinite loop when processing TreeObject
Original 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 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.
nvd CVSS3.1 5.5
nvd CVSS4.0 6.9
Vulnerability type
CWE-835
Published: 20 Feb 2026 · Updated: 12 Mar 2026 · First seen: 6 Mar 2026