CVE-2026-119203 pypdf: Possible infinite loop when hitting EOF in standard xref table during trailer search

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

What is CVE-2026-119203?

CVE-2026-119203 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 enter an infinite loop while opening a crafted incomplete PDF whose standard cross-reference table reaches the end of the file without a trailer. The trailer search can repeatedly rewind to the same stream position instead of terminating when parsing makes no progress, blocking the processing thread. This issue is fixed in version 6.21.4.

Weakness: CWE-835

Which versions are affected by CVE-2026-119203?

How do I fix CVE-2026-119203?

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

Is CVE-2026-119203 being exploited?

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

Sources

Is CVE-2026-119203 in your software?

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

Check your SBOMs for free