Affected versions
Ubuntu24.04:LTS/pypdf
- Affected versions
- * || =3.4.1-1 || =3.17.4-1 || =4.0.0-1 || =4.0.1-1 || =4.0.2-1
- Fixed version
- Not reported
Ubuntu26.04:LTS/pypdf
- Affected versions
- * || =5.4.0-1 || =6.9.2-1
- Fixed version
- Not reported
Ubuntu26.10/pypdf
- Affected versions
- * || =6.9.2-1 || =6.9.2-2
- Fixed version
- Not reported
Description
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.
Links
- https://github.com/py-pdf/pypdf/commit/68a0e5046cc9e14a6c24a21a713f3c7fbde18b4b
- https://github.com/py-pdf/pypdf/pull/4240
- https://github.com/py-pdf/pypdf/releases/tag/6.21.2
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-jr96-gvgh-j3r4
- https://ubuntu.com/security/CVE-2026-115585
- https://www.cve.org/CVERecord?id=CVE-2026-115585

