{"id":"CVE-2026-71852","published":"2026-08-07T18:53:46Z","modified":"2026-08-10T12:03:44Z","title":"pypdf: Possible long runtimes/large memory usage for large CID font width ranges","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00125,"percentile":0.02286,"provenance":"source"},"cwes":[{"id":"CWE-834","name":"Excessive Iteration"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-fwg2-594c-jp42","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/3946","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/commit/51cb6acf9e8a35b77e90b4d87d28fe3e1416d7d7","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.15.0","tags":["x_refsource_MISC"]}],"priority":{"score":3.8,"factors":[{"name":"EPSS percentile","points":0.46},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.15.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-10T12:03:37.229178Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.15.0"],"patched":["6.15.0"],"from":["GHSA-fwg2-594c-jp42","PYSEC-2026-3656"],"provenance":"source"}],"summary":{"text":"The pypdf Python PDF library, specifically the Font._collect_cid_character_widths function in pypdf/_font.py, fails to limit the expansion of large CID font /W width ranges during text extraction, so affected versions before 6.15.0 are exposed to excessive iteration. An attacker who can get a user to open or process a crafted PDF, requiring no privileges and only user interaction, can cause long runtimes and large memory consumption on the local system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:21Z"},"euvd":{"id":"EUVD-2026-54600","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-py-pdf-pypdf-cve-2026-71852","children":[{"from":"CVE-2026-71852","to":"CVE-2026-102996","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/_font.py"],"commits":["https://github.com/py-pdf/pypdf/commit/0fb26eb8cdd01c44b3b2c9fe8329751be2f7cfd5","https://github.com/py-pdf/pypdf/commit/51cb6acf9e8a35b77e90b4d87d28fe3e1416d7d7"],"basis":"shared function","functions":["_collect_tt_t1_character_widths"]}]}],"packageHistory":[{"cve":"CVE-2026-59938","published":"2026-07-08","fixed":"6.14.0","kev":false},{"cve":"CVE-2026-59936","published":"2026-07-08","fixed":"6.14.1","kev":false},{"cve":"CVE-2026-59935","published":"2026-07-08","fixed":"6.14.2","kev":false,"link":{"from":"CVE-2026-59935","to":"CVE-2026-71852","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.14.2","toFixed":"6.15.0","daysApart":30}]}},{"cve":"CVE-2026-71852","published":"2026-08-07","fixed":"6.15.0","kev":false},{"cve":"CVE-2026-71870","published":"2026-08-07","fixed":"6.15.0","kev":false},{"cve":"CVE-2026-82398","published":"2026-08-31","fixed":"6.15.0","kev":false},{"cve":"CVE-2026-84309","published":"2026-09-01","fixed":"6.16.0","kev":false}],"package":"PyPI:pypdf"}}