CVE-2026-119203
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.
How to fix
- py-pdf pypdf6.21.4 or later
- pypdf6.21.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| py-pdf pypdf | v < 6.21.4 | 6.21.4 |
| pypdfPyPI | v < 6.21.4 | 6.21.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.