{"id":"CVE-2026-119204","aliases":["GHSA-cggf-277g-3q54"],"title":"pypdf: Possible large memory usage when parsing page tree","titleSource":"GitHub_M","descriptionSource":"OSV","declaredSeverity":"HIGH","description":"### 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).","severity":"high","score":7.1,"published":"2026-10-29T20:34:02.704Z","modified":"2026-10-30T23:30:04.096Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"PyPI","name":"pypdf","sources":[{"name":"OSV · GHSA-cggf-277g-3q54","url":"https://osv.dev/vulnerability/GHSA-cggf-277g-3q54"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"6.21.4"}],"type":"ECOSYSTEM"}],"versions":["1.0","1.1","1.10","1.11","1.12","1.13","1.2","1.3","1.4","1.5","1.6","1.7","1.8","1.9","3.1.0","3.10.0","3.11.0","3.11.1","3.12.0","3.12.1","3.12.2","3.13.0","3.14.0","3.15.0","3.15.1","3.15.2","3.15.3","3.15.4","3.15.5","3.16.0","3.16.1","3.16.2","3.16.3","3.16.4","3.17.0","3.17.1","3.17.2","3.17.3","3.17.4","3.2.0","3.2.1","3.3.0","3.4.0","3.4.1","3.5.0","3.5.1","3.5.2","3.6.0","3.7.0","3.7.1","3.8.0","3.8.1","3.9.0","3.9.1","4.0.0","4.0.1","4.0.2","4.1.0","4.2.0","4.3.0","4.3.1","5.0.0","5.0.1","5.1.0","5.2.0","5.3.0","5.3.1","5.4.0","5.5.0","5.6.0","5.6.1","5.7.0","5.8.0","5.9.0","6.0.0","6.1.0","6.1.1","6.1.2","6.1.3","6.10.0","6.10.1","6.10.2","6.11.0","6.12.0","6.12.1","6.12.2","6.13.0","6.13.1","6.13.2","6.13.3","6.14.0","6.14.1","6.14.2","6.15.0","6.16.0","6.16.1","6.16.2","6.17.0","6.18.0","6.18.1","6.19.0","6.2.0","6.20.0","6.20.1","6.21.0","6.21.1","6.21.2","6.21.3","6.3.0","6.4.0","6.4.1","6.4.2","6.5.0","6.6.0","6.6.1","6.6.2","6.7.0","6.7.1","6.7.2","6.7.3","6.7.4","6.7.5","6.8.0","6.9.0","6.9.1","6.9.2"],"fixed":["6.21.4"]}],"sourceAffected":[],"references":["https://github.com/py-pdf/pypdf/security/advisories/GHSA-cggf-277g-3q54","https://github.com/py-pdf/pypdf/pull/4290","https://github.com/py-pdf/pypdf/commit/ea4ac663133f1b3de1d7a8f2e6fa239802fde79e","https://github.com/py-pdf/pypdf/releases/tag/6.21.4","https://nvd.nist.gov/vuln/detail/CVE-2026-119204","https://github.com/py-pdf/pypdf"],"sources":[{"name":"CVE","id":"CVE-2026-119204","modified":"2026-10-29T20:34:02.704Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-119204"},{"name":"OSV","id":"GHSA-cggf-277g-3q54","modified":"2026-10-30T23:30:04.096691081Z","url":"https://osv.dev/vulnerability/GHSA-cggf-277g-3q54"}],"assessments":[{"source":"GitHub_M","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":7.1},{"source":"OSV","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":7.1}],"cve":{"records":[{"id":"CVE-2026-119204","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-29T16:04:48.729Z","published":"2026-10-29T20:34:02.704Z","modified":"2026-10-29T20:34:02.704Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-10-29T20:34:02.704Z"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-cggf-277g-3q54","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/py-pdf/pypdf/pull/4290","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/py-pdf/pypdf/commit/ea4ac663133f1b3de1d7a8f2e6fa239802fde79e","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.21.4","tags":["x_refsource_MISC"],"source":"GitHub_M"}],"weaknesses":[{"id":"CWE-400","description":"CWE-400: Uncontrolled Resource Consumption","source":"GitHub_M"}],"applicability":[],"prioritization":[]},"products":[{"vendor":"py-pdf","name":"pypdf","platforms":[],"versions":[{"version":"< 6.21.4","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-119204"}],"remediation":[],"observedAt":"2026-10-31T00:42:03.481Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T07:10:30.687Z"},"coverage":[{"source":"NVD","status":"no-result","checkedAt":"2026-10-29T21:15:34.854Z","attemptedAt":"2026-10-29T21:15:34.854Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-10-29T21:15:34.963Z","attemptedAt":"2026-10-29T21:15:34.963Z"},{"source":"EUVD","status":"available","checkedAt":"2026-10-29T21:15:35.393Z","attemptedAt":"2026-10-29T21:15:35.393Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-10-29T21:15:34.825Z","attemptedAt":"2026-10-29T21:15:34.825Z"}],"evidence":[{"source":"ENISA EUVD","id":"EUVD-2026-113375","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-113375","modified":"Oct 29, 2026, 8:34:02 PM","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","checkedAt":"2026-10-29T21:15:35.393Z"}],"aiSummary":{"text":"pypdf versions before 6.21.4 may experience large memory usage when parsing a crafted PDF with many shared resources in the page tree. An attacker can cause this issue. The impact is limited to memory consumption.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-31T00:46:04.813Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-119204"},{"name":"OSV","url":"https://osv.dev/vulnerability/GHSA-cggf-277g-3q54"}]}}