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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-102996— pypdf: Possible large memory usage when parsing font data

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.18.1 版本之前,一个经过恶意构造的 PDF 文件可以提供一个 TrueType 或 Type1 简单字体,其 数组异常庞大。这会导致 中的 方法处理超出简单字体所支持的 256 个字符代码范围之外的条目,从而在执行文本提取等操作时消耗过量内存。该问题已在 6.18.1 版本中修复。

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

I. Basic Information for CVE-2026-102996

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 font data
Source: CVE Program / CVE List V5
Vulnerability Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.18.1, a crafted PDF can provide a TrueType or Type1 simple font with an unusually large /Widths array, causing pypdf/_font.py Font._collect_tt_t1_character_widths to process entries beyond the 256 character codes meaningful for a simple font and consume excessive memory during operations such as text extraction. This issue is fixed in version 6.18.1.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/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

Affected Products

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

II. Public POCs for CVE-2026-102996

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

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

Other References for CVE-2026-102996 (4)

Same Patch Batch · py-pdf · 2026-09-30 · 8 CVEs total

CVE-2026-102998 8.7 HIGH pypdf: Possible long runtimes when generating appearance streams
CVE-2026-102995 8.7 HIGH pypdf: Possible large memory usage for large /ToUnicode streams (Follow-up 2)
CVE-2026-102997 8.7 HIGH pypdf: Possible long runtimes for partially malformed FlateDecode streams (Follow-up)
CVE-2026-102993 8.7 HIGH pypdf: Possible large memory usage when retrieving Roman page labels
CVE-2026-102994 8.7 HIGH pypdf: Possible long runtimes/large memory usage when parsing indirect objects
CVE-2026-102999 8.7 HIGH pypdf: Possible long runtimes with large amount of embedded files
CVE-2026-103000 8.7 HIGH pypdf: Possible large memory usage when retrieving alphabetical page labels

IV. Related Vulnerabilities

V. Comments for CVE-2026-102996

No comments yet


Leave a comment