{"id":"CVE-2026-119209","aliases":["GHSA-x3rh-gjgm-fmqc"],"title":"pypdf has possible large memory usage when parsing cross-reference streams","summary":"pypdf has possible large memory usage when parsing cross-reference streams","severity":"high","vendor":"pypdf","product":"pypdf","ecosystem":"pip","affected":["pypdf < 6.21.3"],"patched":["pypdf 6.21.3"],"published":"2026-10-30","updated":"2026-10-30","sourceUpdated":"2026-10-30T23:15:04.529631202Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-x3rh-gjgm-fmqc","references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-x3rh-gjgm-fmqc"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119209"},{"url":"https://github.com/py-pdf/pypdf/pull/4269"},{"url":"https://github.com/py-pdf/pypdf/commit/a93fe3a901fd00af38f0a105c3ba7175fa72dcb4"},{"url":"https://github.com/py-pdf/pypdf"},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.21.3"},{"url":"https://github.com/advisories/GHSA-x3rh-gjgm-fmqc"}],"tags":["osv","pip","ghsa"],"epss":0.00268,"epssPercentile":0.19022,"cwe":["CWE-400","CWE-770"],"ingestedAt":"2026-10-30T23:11:25.770Z","slug":"CVE-2026-119209","body":"## Overview\n\n### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires opening a file with cross-reference streams.\n\n### Patches\n\nThis has been fixed in [pypdf==6.21.3](https://github.com/py-pdf/pypdf/releases/tag/6.21.3).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#4269](https://github.com/py-pdf/pypdf/pull/4269).\n\n## Affected packages\n\n- `pypdf < 6.21.3`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `pypdf 6.21.3`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}