{"id":"CVE-2026-54531","published":"2026-06-22T20:26:19Z","modified":"2026-06-23T16:11:53Z","title":"pypdf: Possible infinite loop when processing outlines/bookmarks in writer","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"text":"pypdf is a free and open-source pure-python PDF library. Prior to 6.13.0, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires merging a file with outlines into a writer. This vulnerability is fixed in 6.13.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00174,"percentile":0.0707,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-m2v9-299j-rv96","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/3830","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.13.0","tags":["x_refsource_MISC"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":1.41},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.13.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-23T14:17:27.850481Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.13.0"],"patched":["6.13.0"],"from":["GHSA-m2v9-299j-rv96","PYSEC-2026-3022"],"provenance":"source"}],"summary":{"text":"pypdf, the pure-Python PDF library, contains a flaw in its handling of outlines (bookmarks) when writing PDFs, causing processing to fall into an infinite loop in versions prior to 6.13.0. An attacker with local access and no privileges or user interaction can craft a malicious PDF that, when a file with outlines is merged into a writer, makes the process hang, resulting in denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:41Z"},"euvd":{"id":"EUVD-2026-38355","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"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,"link":{"from":"CVE-2026-49461","to":"CVE-2026-54531","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.12.2","toFixed":"6.13.0","daysApart":0}]}},{"cve":"CVE-2026-54530","published":"2026-06-22","fixed":"6.13.0","kev":false},{"cve":"CVE-2026-54531","published":"2026-06-22","fixed":"6.13.0","kev":false},{"cve":"CVE-2026-54651","published":"2026-06-22","fixed":"6.13.1","kev":false},{"cve":"CVE-2026-59937","published":"2026-07-08","fixed":"6.14.0","kev":false},{"cve":"CVE-2026-59938","published":"2026-07-08","fixed":"6.14.0","kev":false}],"package":"PyPI:pypdf"}}