CVE-2026-71852
MEDIUMpypdf: Possible long runtimes/large memory usage for large CID font width ranges
Title source: cnaDescription
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.
References (4)
Core 4
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/py-pdf/pypdf/security/advisories/GHSA-fwg2-594c-jp42
X_Refsource_Misc x_refsource_misc
https://github.com/py-pdf/pypdf/pull/3946
X_Refsource_Misc x_refsource_misc
https://github.com/py-pdf/pypdf/commit/51cb6acf9e8a35b77e90b4d87d28fe3e1416d7d7
X_Refsource_Misc x_refsource_misc
https://github.com/py-pdf/pypdf/releases/tag/6.15.0
Scores
CVSS v4
4.8
EPSS
0.0013
EPSS Percentile
2.7%
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Details
CWE
CWE-834
Status
published
Products (2)
py-pdf/pypdf
< 6.15.0
pypi/pypdf
0 - 6.15.0PyPI
Published
Aug 07, 2026
Tracked Since
Aug 08, 2026