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.
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://github.com/py-pdf/pypdf/commit/51cb6acf9e8a35b77e90b4d87d28fe3e1416d7d7 Patch
- https://github.com/py-pdf/pypdf/pull/3946 Patch
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-fwg2-594c-jp42 Patch, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 4.8 · pypdf_projectNVD modified 2026-10-23 20:10
Affected (CPE criteria) 1
cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:*