{"id":"CVE-2026-48156","published":"2026-05-28T14:50:41Z","modified":"2026-05-30T02:08:20Z","title":"pypdf: Possible long runtimes for zero-only width values in cross-reference streams","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"text":"pypdf is a free and open-source pure-python PDF library. Prior to 6.12.0, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires cross-reference streams with /W [0 0 0] values and large /Size values. This vulnerability is fixed in 6.12.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00124,"percentile":0.02188,"provenance":"source"},"cwes":[{"id":"CWE-834","name":"Excessive Iteration"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-248m-82v9-q6g6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/3791","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.12.0","tags":["x_refsource_MISC"]}],"priority":{"score":4.0,"factors":[{"name":"EPSS percentile","points":0.44},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.12.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-30T02:08:10.197722Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.12.0"],"patched":["6.12.0"],"from":["GHSA-248m-82v9-q6g6","PYSEC-2026-3004"],"provenance":"source"}],"summary":{"text":"The pypdf library (product pypdf, from py-pdf) has a flaw in how it parses cross-reference streams, causing excessive iteration on crafted input prior to version 6.12.0. An attacker who can get a specially crafted PDF processed by pypdf, which requires only local access and no privileges or user interaction, can cause a long runtime by using cross-reference streams with /W [0 0 0] and large /Size values.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:03Z"},"euvd":{"id":"EUVD-2026-32913","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-41312","published":"2026-04-22","fixed":"6.10.2","kev":false,"link":{"from":"CVE-2026-41312","to":"CVE-2026-48156","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.10.2","toFixed":"6.12.0","daysApart":36}]}},{"cve":"CVE-2026-41313","published":"2026-04-22","fixed":"6.10.2","kev":false},{"cve":"CVE-2026-41314","published":"2026-04-22","fixed":"6.10.2","kev":false},{"cve":"CVE-2026-48155","published":"2026-05-28","fixed":"6.12.0","kev":false},{"cve":"CVE-2026-48156","published":"2026-05-28","fixed":"6.12.0","kev":false},{"cve":"CVE-2026-48735","published":"2026-05-28","fixed":"6.12.1","kev":false},{"cve":"CVE-2026-49460","published":"2026-06-22","fixed":"6.12.2","kev":false},{"cve":"CVE-2026-49461","published":"2026-06-22","fixed":"6.12.2","kev":false}],"package":"PyPI:pypdf"}}