CVE-2026-102996
7.5 HIGHpublic exploit availablePublished 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.
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
- https://github.com/py-pdf/pypdf/commit/0fb26eb8cdd01c44b3b2c9fe8329751be2f7cfd5[Patch]
- https://github.com/py-pdf/pypdf/pull/4072[Patch, Issue Tracking]
- https://github.com/py-pdf/pypdf/releases/tag/6.18.1[Release Notes]
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-g9cg-prrw-2r8q[Vendor Advisory]
All references
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-102995PoC
- HIGHCVE-2026-103000PoC
- HIGHCVE-2026-102993PoC
- HIGHCVE-2026-102994PoC
- HIGHCVE-2026-102997PoC
- HIGHCVE-2026-68495PoC
- HIGHCVE-2026-68496PoC
- HIGHCVE-2026-103471PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.