CVE-2026-119204

GHSA-cggf-277g-3q54 · published 29 Oct 2026 · updated 4 Nov 2026

pypdf: Possible large memory usage when parsing page tree

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 6.21.4 and pypdf 6.21.4.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
py-pdfpypdf<6.21.46.21.4
py-pdf<6.21.4
pypi: pypdf<6.21.46.21.4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in pypdf (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-119204 severity on Zeptric[![CVE-2026-119204](https://zeptric.io/badge/cve/CVE-2026-119204.svg)](https://zeptric.io/cve/CVE-2026-119204)