{"id":"CVE-2026-119204","aliases":["GHSA-cggf-277g-3q54"],"title":"pypdf has possible large memory usage when parsing page tree","summary":"pypdf has possible large memory usage when parsing page tree","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.096691081Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-cggf-277g-3q54","references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-cggf-277g-3q54"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119204"},{"url":"https://github.com/py-pdf/pypdf/pull/4290"},{"url":"https://github.com/py-pdf/pypdf/commit/ea4ac663133f1b3de1d7a8f2e6fa239802fde79e"},{"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-cggf-277g-3q54"}],"tags":["osv","pip","ghsa"],"epss":0.00304,"epssPercentile":0.23191,"cwe":["CWE-400"],"ingestedAt":"2026-10-31T00:12:28.851Z","slug":"CVE-2026-119204","body":"## Overview\n\n### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the page tree with many shared resources.\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 [#4290](https://github.com/py-pdf/pypdf/pull/4290).\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":[]}