{"id":"CVE-2026-24688","published":"2026-01-27T19:44:06Z","modified":"2026-01-27T20:51:48Z","title":"pypdf has possible Infinite Loop when processing outlines/bookmarks","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"text":"pypdf is a free and open-source pure-python PDF library. An attacker who uses an infinite loop vulnerability that is present in versions prior to 6.6.2 can craft a PDF which leads to an infinite loop. This requires accessing the outlines/bookmarks. This has been fixed in pypdf 6.6.2. If projects cannot upgrade yet, consider applying the changes from PR #3610 manually.","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.00445,"percentile":0.3946,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-2q4j-m29v-hq73","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/3610","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/commit/b1282f8dcdc1a7b41ceab6740ffddfdf31b1fec1","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.6.2","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":7.89},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.57}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2026-01-27","earliestUrl":"https://github.com/JoakimBulow/CVE-2026-24688","repos":[{"name":"JoakimBulow/CVE-2026-24688","url":"https://github.com/JoakimBulow/CVE-2026-24688","stars":0,"created":"2026-01-27"},{"name":"Fomovet/cve-2026-24688","url":"https://github.com/Fomovet/cve-2026-24688","stars":0,"created":"2026-06-21"}]},"first":{"date":"2026-01-27","source":"PoC-in-GitHub","url":"https://github.com/JoakimBulow/CVE-2026-24688"},"provenance":"source"},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.6.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-27T20:35:51.227753Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.6.2"],"patched":["6.6.2"],"from":["GHSA-2q4j-m29v-hq73","PYSEC-2026-1827"],"provenance":"source"}],"summary":{"text":"The pypdf Python PDF library, in versions prior to 6.6.2, contains an infinite loop flaw in how it processes outlines (bookmarks). An attacker who supplies a specially crafted PDF can trigger this loop when the outlines/bookmarks are accessed, which requires only local access and no privileges or user interaction, resulting in denial of service on the processing host.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:16Z"},"euvd":{"id":"EUVD-2026-4753","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-py-pdf-pypdf-cve-2026-24688","children":[{"from":"CVE-2026-24688","to":"CVE-2026-84310","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/_doc_common.py"],"commits":["https://github.com/py-pdf/pypdf/commit/b1282f8dcdc1a7b41ceab6740ffddfdf31b1fec1","https://github.com/py-pdf/pypdf/commit/d91ab705fd81ed1a9cec175c6958600dea1a4942"],"basis":"shared function","functions":["_get_outline","outline"]}]},{"from":"CVE-2026-24688","to":"CVE-2026-84311","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/_doc_common.py"],"commits":["https://github.com/py-pdf/pypdf/commit/b1282f8dcdc1a7b41ceab6740ffddfdf31b1fec1","https://github.com/py-pdf/pypdf/commit/d91ab705fd81ed1a9cec175c6958600dea1a4942"],"basis":"shared function","functions":["_get_outline","outline"]}]}],"packageHistory":[{"cve":"CVE-2025-66019","published":"2025-11-25","fixed":"6.4.0","kev":false},{"cve":"CVE-2026-22690","published":"2026-01-10","fixed":"6.6.0","kev":false},{"cve":"CVE-2026-22691","published":"2026-01-10","fixed":"6.6.0","kev":false,"link":{"from":"CVE-2026-22691","to":"CVE-2026-24688","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.6.0","toFixed":"6.6.2","daysApart":17},{"kind":"same-code","provenance":"machine","files":["pypdf/_doc_common.py"],"commits":["https://github.com/py-pdf/pypdf/commit/294165726b646bb7799be1cc787f593f2fdbcf45","https://github.com/py-pdf/pypdf/commit/b1282f8dcdc1a7b41ceab6740ffddfdf31b1fec1"],"basis":"shared file"}]}},{"cve":"CVE-2026-24688","published":"2026-01-27","fixed":"6.6.2","kev":false},{"cve":"CVE-2026-27024","published":"2026-02-20","fixed":"6.7.1","kev":false,"link":{"from":"CVE-2026-24688","to":"CVE-2026-27024","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.6.2","toFixed":"6.7.1","daysApart":24},{"kind":"similar","provenance":"machine","score":0.44,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2026-27025","published":"2026-02-20","fixed":"6.7.1","kev":false,"link":{"from":"CVE-2026-24688","to":"CVE-2026-27025","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.6.2","toFixed":"6.7.1","daysApart":24}]}},{"cve":"CVE-2026-27026","published":"2026-02-20","fixed":"6.7.1","kev":false,"link":{"from":"CVE-2026-24688","to":"CVE-2026-27026","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.6.2","toFixed":"6.7.1","daysApart":24}]}}],"package":"PyPI:pypdf"}}