high7.1
CVE-2026-115572
pypdf: Possible long runtimes for repeated references to the same missing object
Impact
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.2, an attacker can craft a PDF that repeatedly references the same nonexistent indirect object, causing relevant file parts such as pages to trigger repeated full-file recovery loads and long runtimes when accessed. This issue is fixed in version 6.21.2.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | pypdf | < 6.21.2 | 6.21.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-6c7f-9265-g8fw
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-6c7f-9265-g8fw
- https://github.com/py-pdf/pypdf/pull/4240
- https://github.com/py-pdf/pypdf/commit/68a0e5046cc9e14a6c24a21a713f3c7fbde18b4b
- https://github.com/py-pdf/pypdf/releases/tag/6.21.2