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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-113791— pypdf: Possible large memory usage when parsing content streams

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.0 版本之前,攻击者可以构造一个包含内容流的 PDF 文件,该流中包含大量微小操作,导致解析过程消耗大量内存。此问题已在 6.21.0 版本中修复。

CVSS 6.0 · Medium

Affected Version Matrix 1

VendorProduct Version RangeStatus
py-pdf pypdf < 6.21.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-113791

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 when parsing content streams
Source: CVE Program / CVE List V5
Vulnerability Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF containing a content stream with many small operations, causing parsing to consume large amounts of memory. This issue is fixed in version 6.21.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/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.0 -

II. Public POCs for CVE-2026-113791

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

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

Other References for CVE-2026-113791 (4)

Same Patch Batch · py-pdf · 2026-10-21 · 8 CVEs total

CVE-2026-113790 6.0 MEDIUM pypdf: Possible large memory usage when parsing arrays and dictionaries
CVE-2026-113789 6.0 MEDIUM pypdf: Possible long runtimes/large memory usage when retrieving form fields
CVE-2026-113794 6.0 MEDIUM pypdf: Possible infinite loop when hitting EOF in standard xref table
CVE-2026-113793 6.0 MEDIUM pypdf: Possible infinite loop when removing tree items
CVE-2026-113792 6.0 MEDIUM pypdf: Possible infinite loop in PdfWriter.find_outline_item
CVE-2026-113795 6.0 MEDIUM pypdf: Possible large memory usage for streams with multiple filters
CVE-2026-113786 2.3 LOW pypdf: Unvalidated JPEG image data loading

IV. Related Vulnerabilities

V. Comments for CVE-2026-113791

No comments yet


Leave a comment