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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-119208— pypdf: Possible long runtimes/large memory usage for encrypted PDF files

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 是一个免费且开源的纯 Python PDF 库。在 6.21.3 版本之前,当应用程序访问一个经过精心构造的加密 PDF 文件(其页面树声明了伪造的 /Count 值)的页面数量时,pypdf 可能会消耗过多的时间和内存。即使解密成功,页面数量检索功能仍会信任未经验证的声明计数,而不是遍历页面树,从而使得攻击者控制的值能够引发过度的计算和内存消耗。该问题已在 6.21.3 版本中修复。

CVSS 7.1 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-119208

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: Possible long runtimes/large memory usage for encrypted PDF files
Source: CVE Program / CVE List V5
Vulnerability Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.3, pypdf can consume excessive time and memory when an application accesses the page count of a crafted encrypted PDF whose page tree declares a forged /Count value. Even after successful decryption, page-count retrieval trusts the unvalidated declared count instead of walking the page tree, allowing the attacker-controlled value to drive excessive work and memory use. This issue is fixed in version 6.21.3.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/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

Affected Products

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

II. Public POCs for CVE-2026-119208

# 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-119208

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

Patches & Fixes for CVE-2026-119208 (2)

Vendor Advisories for CVE-2026-119208 (1)

Vendor Pages for CVE-2026-119208 (1)

Same Patch Batch · py-pdf · 2026-10-29 · 7 CVEs total

CVE-2026-119206 7.1 HIGH pypdf: Possible long runtimes when retrieving page labels
CVE-2026-119203 7.1 HIGH pypdf: Possible infinite loop when hitting EOF in standard xref table during trailer searc
CVE-2026-119204 7.1 HIGH pypdf: Possible large memory usage when parsing page tree
CVE-2026-119207 7.1 HIGH pypdf: Possible large memory usage for exceptions in strict mode
CVE-2026-119205 7.1 HIGH pypdf: Possible infinite loop when cloning dictionaries
CVE-2026-119209 7.1 HIGH pypdf: Possible large memory usage when parsing cross-reference streams

IV. Related Vulnerabilities