CVE-2026-71852Published Aug 7, 2026 · Aug 7Updated Nov 4
pypdf: Possible long runtimes/large memory usage for large CID font width ranges
py-pdf pypdf
Medium4.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| pypdf PyPI |
|
|
Original description
pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, a crafted PDF can cause long runtimes and large memory consumption when pypdf/_font.py function Font._collect_cid_character_widths expands unusually large CID font /W width ranges or excessive width entries during text extraction. This issue is fixed in 6.15.0.
From the CVE record · GitHub_M