THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-5849-834g-hvw5 (high) — pypdf has possible infinite loop when hitting EOF in standard xref table during trailer search

[GHSA] GHSA-5849-834g-hvw5 (high) — pypdf has possible infinite loop when hitting EOF in standard xref table during trailer search

medgithub_advisoriesPublished 2026-10-30

GHSA-5849-834g-hvw5 Severity: high CVE: CVE-2026-119203

pypdf has possible infinite loop when hitting EOF in standard xref table during trailer search

### Impact

An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires opening an incomplete file without a `trailer`.

### Patches

This has been fixed in [pypdf==6.21.4](https://github.com/py-pdf/pypdf

Indicators of compromise

Original source: https://github.com/advisories/GHSA-5849-834g-hvw5