← Back to search

CVE-2026-102996

7.5 HIGHpublic exploit available

Published 2026-09-30 · Updated 2026-10-05

AI risk analysis

Summary
A memory exhaustion vulnerability in pypdf allows attackers to craft malicious PDFs with oversized font width arrays that cause excessive memory consumption during text extraction operations. This can lead to denial of service through resource exhaustion.
Exploitability
Exploitation is relatively straightforward as it requires only crafting a malicious PDF file with oversized font data, with no special preconditions needed for the target system.
Blast radius
The impact could be significant across any application or service that processes PDF files using pypdf, particularly those handling untrusted PDF uploads or automated text extraction workflows.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to pypdf version 6.18.1 or later to remediate this memory exhaustion vulnerability.
memory-exhaustionpdfdenial-of-service

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CWE-400

Vendors

pypdf project

Products

pypdf

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.