CVE-2026-119203

GHSA-5849-834g-hvw5 · published 29 Oct 2026 · updated 30 Oct 2026

pypdf: Possible infinite loop when hitting EOF in standard xref table during trailer search

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 pypdf 6.21.4.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
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-119203 severity on Zeptric[![CVE-2026-119203](https://zeptric.io/badge/cve/CVE-2026-119203.svg)](https://zeptric.io/cve/CVE-2026-119203)