Low severityOSV Advisory· Published Jan 10, 2026· Updated Jan 12, 2026
pypdf has possible long runtimes for missing /Root object with large /Size values
CVE-2026-22690
Description
pypdf is a free and open-source pure-python PDF library. Prior to version 6.6.0, pypdf has possible long runtimes for missing /Root object with large /Size values. An attacker who uses this vulnerability can craft a PDF which leads to possibly long runtimes for actually invalid files. This can be achieved by omitting the /Root entry in the trailer, while using a rather large /Size value. Only the non-strict reading mode is affected. This issue has been patched in version 6.6.0.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pypdfPyPI | < 6.6.0 | 6.6.0 |
Affected products
5- osv-coords4 versionspkg:apk/chainguard/open-webuipkg:apk/wolfi/open-webuipkg:pypi/pypdfpkg:rpm/opensuse/python-pypdf&distro=openSUSE%20Tumbleweed
< 0.7.2-r0+ 3 more
- (no CPE)range: < 0.7.2-r0
- (no CPE)range: < 0.7.2-r0
- (no CPE)range: < 6.6.0
- (no CPE)range: < 6.6.0-1.1
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-4xc4-762w-m6cgghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-22690ghsaADVISORY
- github.com/py-pdf/pypdf/commit/294165726b646bb7799be1cc787f593f2fdbcf45ghsax_refsource_MISCWEB
- github.com/py-pdf/pypdf/pull/3594ghsax_refsource_MISCWEB
- github.com/py-pdf/pypdf/releases/tag/6.6.0ghsax_refsource_MISCWEB
- github.com/py-pdf/pypdf/security/advisories/GHSA-4xc4-762w-m6cgghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.