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 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.
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-6c7f-9265-g8fw
- https://ubuntu.com/security/CVE-2026-115572
- https://www.cve.org/CVERecord?id=CVE-2026-115572

