{"id":"CVE-2026-27628","published":"2026-02-25T02:45:37Z","modified":"2026-02-27T19:49:02Z","title":"pypdf has a possible infinite loop when loading circular /Prev entries 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.7.2, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires reading the file. This has been fixed in pypdf 6.7.2. As a workaround, one may apply the patch manually.","provenance":"source","from":"CVE.org"},"cvss":{"score":1.2,"severity":"LOW","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00406,"percentile":0.35603,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-2rw7-x74f-jg35","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/issues/3654","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/commit/f0a462d36971cf077d74492a348d0d06fd60ea4d","tags":["x_refsource_MISC"]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":7.12},{"name":"CVSS severity","points":0.84}]},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.7.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-25T15:58:27.836793Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.7.2"],"patched":["6.7.2"],"from":["GHSA-2rw7-x74f-jg35","PYSEC-2026-3005"],"provenance":"source"}],"summary":{"text":"pypdf, the pure-Python PDF library, contains a flaw where loading a PDF with circular /Prev entries in cross-reference streams can trigger an infinite loop. An attacker who can get a crafted PDF processed by an application using the library can cause it to hang, which requires user interaction (the victim must open or read the file).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:38Z"},"euvd":{"id":"EUVD-2026-8601","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"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,"link":{"from":"CVE-2026-27026","to":"CVE-2026-27628","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.7.1","toFixed":"6.7.2","daysApart":5}]}},{"cve":"CVE-2026-27628","published":"2026-02-25","fixed":"6.7.2","kev":false},{"cve":"CVE-2026-27888","published":"2026-02-26","fixed":"6.7.3","kev":false,"link":{"from":"CVE-2026-27628","to":"CVE-2026-27888","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.7.2","toFixed":"6.7.3","daysApart":1}]}},{"cve":"CVE-2026-28351","published":"2026-02-27","fixed":"6.7.4","kev":false},{"cve":"CVE-2026-28804","published":"2026-03-06","fixed":"6.7.5","kev":false}],"package":"PyPI:pypdf"}}