{"id":"CVE-2026-33699","published":"2026-03-26T23:58:42Z","modified":"2026-03-27T19:59:39Z","title":"pypdf: Possible infinite loop during recovery attempts in DictionaryObject.read_from_stream","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"text":"pypdf is a free and open-source pure-python PDF library. Versions prior to 6.9.2 have a vulnerability in which an attacker can craft a PDF which leads to an infinite loop. This requires reading a file in non-strict mode. This has been fixed in pypdf 6.9.2. If users cannot upgrade yet, consider applying the changes from the patch manually.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00516,"percentile":0.4479,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-87mj-5ggw-8qc3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/3693","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.9.2","tags":["x_refsource_MISC"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":8.96},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.9.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-27T13:27:07.800115Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.9.2"],"patched":["6.9.2"],"from":["GHSA-87mj-5ggw-8qc3","PYSEC-2026-3012"],"provenance":"source"}],"summary":{"text":"The flaw in pypdf, the pure-Python PDF library from py-pdf, is an infinite loop triggered during recovery attempts in the DictionaryObject.read_from_stream component, affecting versions before 6.9.2. An attacker can supply a crafted PDF that causes this loop when the file is read in non-strict mode, and no authentication or user interaction is required beyond the application processing that file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:54Z"},"euvd":{"id":"EUVD-2026-16496","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-28804","published":"2026-03-06","fixed":"6.7.5","kev":false},{"cve":"CVE-2026-31826","published":"2026-03-10","fixed":"6.8.0","kev":false},{"cve":"CVE-2026-33123","published":"2026-03-20","fixed":"6.9.1","kev":false,"link":{"from":"CVE-2026-33123","to":"CVE-2026-33699","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.9.1","toFixed":"6.9.2","daysApart":6}]}},{"cve":"CVE-2026-33699","published":"2026-03-26","fixed":"6.9.2","kev":false},{"cve":"CVE-2026-40260","published":"2026-04-16","fixed":"6.10.0","kev":false,"link":{"from":"CVE-2026-33699","to":"CVE-2026-40260","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.9.2","toFixed":"6.10.0","daysApart":21}]}},{"cve":"CVE-2026-41168","published":"2026-04-22","fixed":"6.10.1","kev":false},{"cve":"CVE-2026-41312","published":"2026-04-22","fixed":"6.10.2","kev":false}],"package":"PyPI:pypdf"}}