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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-119207— pypdf: Possible large memory usage for exceptions in strict mode

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 字典时,pypdf 可能会消耗过量内存。嵌套的解析失败会将重复的异常文本附加到新抛出的错误中,使得一个微小的畸形字典被放大为极其庞大的错误消息。该问题已在 6.21.3 版本中修复。

CVSS 7.1 · High

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-119207

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 large memory usage for exceptions in strict mode
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 memory when strict mode loads a crafted invalid PDF dictionary. Nested parsing failures add repeated exception text to newly raised errors, allowing a small malformed dictionary to amplify into very large error messages. 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-119207

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

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

Other References for CVE-2026-119207 (4)

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-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
CVE-2026-119208 7.1 HIGH pypdf: Possible long runtimes/large memory usage for encrypted PDF files

IV. Related Vulnerabilities