{"id":"CVE-2026-33699","aliases":["GHSA-87mj-5ggw-8qc3","PYSEC-2026-3012"],"title":"pypdf: Possible infinite loop during recovery attempts in DictionaryObject.read_from_stream","summary":"pypdf: Possible infinite loop during recovery attempts in DictionaryObject.read_from_stream","severity":"medium","vendor":"pypdf","product":"pypdf","ecosystem":"pip","affected":["pypdf < 6.9.2"],"patched":["pypdf 6.9.2"],"published":"2026-03-25","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:51:00.069856672Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-87mj-5ggw-8qc3","references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-87mj-5ggw-8qc3"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33699"},{"url":"https://github.com/py-pdf/pypdf/pull/3693"},{"url":"https://github.com/py-pdf/pypdf"},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.9.2"}],"tags":["osv","pip"],"epss":0.00455,"epssPercentile":0.38803,"ingestedAt":"2026-07-13T18:57:54.870Z","slug":"CVE-2026-33699","body":"## Overview\n\n### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires reading a file in non-strict mode.\n\n### Patches\n\nThis has been fixed in [pypdf==6.9.2](https://github.com/py-pdf/pypdf/releases/tag/6.9.2).\n\n### Workarounds\n\nIf users cannot upgrade yet, consider applying the changes from PR [#3693](https://github.com/py-pdf/pypdf/pull/3693).\n\n## Affected packages\n\n- `pypdf < 6.9.2`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `pypdf 6.9.2`","depth":"sunlit","depthScore":28,"depthScoreParts":{"impact":27.5,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}