CVE-2026-119207 pypdf: Possible large memory usage for exceptions in strict mode

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

What is CVE-2026-119207?

CVE-2026-119207 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.3, pypdf can consume excessive memory when strict mode loads a crafted invalid PDF dictionary. Nested parsing failures add repeated exception text to newly raised errors, allowing a small malformed dictionary to amplify into very large error messages. This issue is fixed in version 6.21.3.

Weakness: CWE-405, CWE-400

Which versions are affected by CVE-2026-119207?

How do I fix CVE-2026-119207?

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

Is CVE-2026-119207 being exploited?

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

Sources

Is CVE-2026-119207 in your software?

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

Check your SBOMs for free