{"id":"CVE-2026-119203","aliases":["GHSA-5849-834g-hvw5"],"title":"pypdf has possible infinite loop when hitting EOF in standard xref table during trailer search","summary":"pypdf has possible infinite loop when hitting EOF in standard xref table during trailer search","severity":"high","vendor":"pypdf","product":"pypdf","ecosystem":"pip","affected":["pypdf < 6.21.4"],"patched":["pypdf 6.21.4"],"published":"2026-10-30","updated":"2026-10-30","sourceUpdated":"2026-10-30T23:30:04.101910128Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-5849-834g-hvw5","references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-5849-834g-hvw5"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119203"},{"url":"https://github.com/py-pdf/pypdf/pull/4289"},{"url":"https://github.com/py-pdf/pypdf/commit/06593f993789a4b573dd955730c1a7051128bb2a"},{"url":"https://github.com/py-pdf/pypdf"},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.21.4"},{"url":"https://github.com/advisories/GHSA-5849-834g-hvw5"}],"tags":["osv","pip","ghsa"],"epss":0.00304,"epssPercentile":0.23191,"cwe":["CWE-835"],"ingestedAt":"2026-10-31T00:12:28.849Z","slug":"CVE-2026-119203","body":"## Overview\n\n### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires opening an incomplete file without a `trailer`.\n\n### Patches\n\nThis has been fixed in [pypdf==6.21.4](https://github.com/py-pdf/pypdf/releases/tag/6.21.4).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#4289](https://github.com/py-pdf/pypdf/pull/4289).\n\n## Affected packages\n\n- `pypdf < 6.21.4`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `pypdf 6.21.4`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}