Résumé
pypdf has possible infinite loop when hitting EOF in standard xref table during trailer search
Détails de l’avis
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.
Workarounds
If you cannot upgrade yet, consider applying the changes from PR #4289.
Références
- https://github.com/advisories/GHSA-5849-834g-hvw5
- 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
Vulnérabilités liées
Tout Supply chain →- HIGHCVE-2026-69210
http4s WebSocket decoder accepts negative length, causing infinite decode loop
- MEDIUMCVE-2026-128140
NLTK: Downloader cyclic collection indices cause an infinite closure walk
- HIGHCVE-2026-128130
AIOHTTP: Pure-Python parser request replay and buffer growth behind a declined upgrade
- HIGHCVE-2026-97705
Moleculer: Unauthenticated Denial of Service via negative length field in the TCP transporter packet parser
- MEDIUMCVE-2026-63475
isomorphic-git: Circular symbolic references cause non-terminating resolution (DoS)
- HIGHCVE-2026-119205
pypdf has possible infinite loop when cloning dictionaries