High severity7.5NVD Advisory· Published Sep 30, 2026· Updated Nov 2, 2026
CVE-2026-102996
CVE-2026-102996
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pypdfPyPI | < 6.18.1 | 6.18.1 |
Affected products
3Patches
Vulnerability mechanics
References
6- github.com/py-pdf/pypdf/commit/0fb26eb8cdd01c44b3b2c9fe8329751be2f7cfd5nvdPatchWEB
- github.com/py-pdf/pypdf/pull/4072nvdPatchIssue TrackingWEB
- github.com/advisories/GHSA-g9cg-prrw-2r8qghsaADVISORY
- github.com/py-pdf/pypdf/security/advisories/GHSA-g9cg-prrw-2r8qnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-102996ghsaADVISORY
- github.com/py-pdf/pypdf/releases/tag/6.18.1nvdRelease NotesWEB
News mentions
0No linked articles in our index yet.