CVE-2026-119204 pypdf: Possible large memory usage when parsing page tree

High 7.1 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-119204?

CVE-2026-119204 is a high-severity vulnerability in py-pdf pypdf, published on 29 Oct 2026.

Official description

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.

Weakness: CWE-400

Which versions are affected by CVE-2026-119204?

How do I fix CVE-2026-119204?

No fix has been published for CVE-2026-119204 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-119204 being exploited?

There is no known exploitation of CVE-2026-119204 in the wild and no public exploit code.

Sources

Is CVE-2026-119204 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free