7.1
High
pypdf has possible infinite loop when hitting EOF in standard xref table during trailer search
CVE-2026-119203
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/releases/tag/6.21.4). Workarounds If you cannot upgrade yet, consider applying the changes from PR [#4289](https://github.com/py-pdf/pypdf/pull/4289).
Assessment
- CVSS
- 7.1 (v4.0)
- Severity
- High
- EPSS
- 0.00304% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 30 October 2026
- Last updated
- 30 October 2026
- Affected
- pip · pypdf
- Weakness
- CWE-835
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
At the source
References
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-5849-834g-hvw5
- https://nvd.nist.gov/vuln/detail/CVE-2026-119203
- https://github.com/py-pdf/pypdf/pull/4289
- https://github.com/py-pdf/pypdf/commit/06593f993789a4b573dd955730c1a7051128bb2a
- https://github.com/py-pdf/pypdf/releases/tag/6.21.4
- https://github.com/advisories/GHSA-5849-834g-hvw5
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-119203