high7.1
CVE-2026-115585
pypdf: Possible long runtimes for repeated malformed cross-reference entries (Follow-up)
Impact
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.2, an incomplete remediation for repeated malformed cross-reference entries in GHSA-55h5-xmcq-c37v could still trigger a complete PDF stream reload during each recovery attempt even when a recovery cache was present, causing crafted cross-reference streams to produce long runtimes. 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-jr96-gvgh-j3r4
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-jr96-gvgh-j3r4
- 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