{"id":"CVE-2026-27024","published":"2026-02-20T21:10:07Z","modified":"2026-02-24T18:34:30Z","title":"pypdf has a possible infinite loop when processing TreeObject","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"text":"pypdf is a free and open-source pure-python PDF library. Prior to 6.7.1, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires accessing the children of a TreeObject, for example as part of outlines. This vulnerability is fixed in 6.7.1.","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.00219,"percentile":0.0718,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-996q-pr4m-cvgq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/3645","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/commit/bd2f6d052fe5941e85e37082c2a43453d48d1295","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.7.1","tags":["x_refsource_MISC"]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":1.44},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.7.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-24T18:34:14.751487Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.7.1"],"patched":["6.7.1"],"from":["GHSA-996q-pr4m-cvgq","PYSEC-2026-3013"],"provenance":"source"}],"summary":{"text":"The pypdf Python PDF library contains a flaw in how it handles TreeObject children, such as those used for PDF outlines, where processing can enter an infinite loop. An attacker with local access and no privileges or user interaction can supply a crafted PDF to trigger the loop, which exhausts resources and causes denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:45Z"},"euvd":{"id":"EUVD-2026-7789","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"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},{"cve":"CVE-2026-24688","published":"2026-01-27","fixed":"6.6.2","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-27024","published":"2026-02-20","fixed":"6.7.1","kev":false},{"cve":"CVE-2026-27025","published":"2026-02-20","fixed":"6.7.1","kev":false},{"cve":"CVE-2026-27026","published":"2026-02-20","fixed":"6.7.1","kev":false},{"cve":"CVE-2026-27628","published":"2026-02-25","fixed":"6.7.2","kev":false}],"package":"PyPI:pypdf"}}