{"id":"CVE-2026-119204","aliases":["GHSA-cggf-277g-3q54"],"url":"https://o3.security/vulnerability/CVE-2026-119204","summary":"pypdf: Possible large memory usage when parsing page tree","details":"pypdf is a free and open-source pure-python PDF library. Prior to 6.21.4, pypdf can consume excessive memory while parsing a crafted PDF page tree containing many shared resources. Page-tree flattening copies page dictionary and inherited resource entries without a document-wide entry budget, allowing the crafted resource structure to cause disproportionate allocations. This issue is fixed in version 6.21.4.","published":"2026-10-29T20:34:02.704Z","modified":"2026-10-31T02:47:37.442621188Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"pypdf","fixedVersion":"6.21.4"}],"fix":{"url":"https://github.com/py-pdf/pypdf/commit/ea4ac663133f1b3de1d7a8f2e6fa239802fde79e","label":"py-pdf/pypdf@ea4ac66"},"references":[{"type":"WEB","url":"https://github.com/py-pdf/pypdf/releases/tag/6.21.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119204.json"},{"type":"ADVISORY","url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-cggf-277g-3q54"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119204"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/commit/ea4ac663133f1b3de1d7a8f2e6fa239802fde79e"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/pull/4290"},{"type":"PACKAGE","url":"https://github.com/py-pdf/pypdf"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-31T02:47:37.442621188Z"}}