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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-113786— pypdf: Unvalidated JPEG image data loading

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.1 版本之前,攻击者可构造包含标有 滤镜的图像数据的 PDF 文件,导致 Pillow 在加载该图像时选择并调用一个非预期的图像解析器。未安装可选 Pillow 依赖的环境不受此问题影响。该问题已在 6.21.1 版本中修复。

CVSS 2.3 · Low

Affected Version Matrix 1

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

I. Basic Information for CVE-2026-113786

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: Unvalidated JPEG image data loading
Source: CVE Program / CVE List V5
Vulnerability Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.1, an attacker can craft a PDF containing image data labeled with the /DCTDecode filter that causes Pillow to select and invoke an unintended image parser when the image is loaded. Environments without the optional Pillow dependency are not affected. This issue is fixed in version 6.21.1.
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:L/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.1 -

II. Public POCs for CVE-2026-113786

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

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

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

Vendor Advisories for CVE-2026-113786 (1)

Vendor Pages for CVE-2026-113786 (1)

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

CVE-2026-113791 6.0 MEDIUM pypdf: Possible large memory usage when parsing content streams
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

IV. Related Vulnerabilities

V. Comments for CVE-2026-113786

No comments yet


Leave a comment