Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
py-pdf pypdf
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

pypdf是py-pdf开源的一个免费开源的纯 python PDF 库。能够拆分、合并、裁剪和转换 PDF 文件的页面。 pypdf 6.7.1之前版本存在安全漏洞,该漏洞源于处理特制PDF文件时访问TreeObject的子项,可能导致无限循环。

AI Predicted 5.3 Difficulty: Easy EPSS 0.18% · P7
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-27024

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
pypdf has a possible infinite loop when processing TreeObject
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
不可达退出条件的循环(无限循环)
Source: CVE Program / CVE List V5
Vulnerability Title
pypdf 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
pypdf是py-pdf开源的一个免费开源的纯 python PDF 库。能够拆分、合并、裁剪和转换 PDF 文件的页面。 pypdf 6.7.1之前版本存在安全漏洞,该漏洞源于处理特制PDF文件时访问TreeObject的子项,可能导致无限循环。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
py-pdf pypdf < 6.7.1 -

II. Public POCs for CVE-2026-27024

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-27024

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-27024 (1)

Same Patch Batch · py-pdf · 2026-02-20 · 3 CVEs total

CVE-2026-27026 pypdf possibly has long runtimes for malformed FlateDecode streams
CVE-2026-27025 pypdf has possible long runtimes/large memory usage for large /ToUnicode streams

IV. Related Vulnerabilities

V. Comments for CVE-2026-27024

No comments yet


Leave a comment