Vulnerability · Published Jan 10, 2026 · Assigned by GitHub_M
CVE-2026-22690pypdf has possible long runtimes for missing /Root object with large /Size values
Low 2.7
In plain English
A low-severity uncontrolled resource consumption in pypdf from py-pdf. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | pypdf | no fix listed | DEBIAN-CVE-2026-22690 |
| Debian:13 | pypdf | no fix listed | DEBIAN-CVE-2026-22690 |
| Debian:14 | pypdf | 6.9.0-1 | DEBIAN-CVE-2026-22690 |
| Debian:12 | pypdf2 | no fix listed | DEBIAN-CVE-2026-22690 |
| PyPI | pypdf | 6.6.0 | GHSA-4xc4-762w-m6cg |
| PyPI | pypdf | 6.6.0 | PYSEC-2026-1829 |
| Ubuntu:24.04:LTS | pypdf | no fix listed | UBUNTU-CVE-2026-22690 |
| Ubuntu:25.10 | pypdf | no fix listed | UBUNTU-CVE-2026-22690 |
| Ubuntu:26.04:LTS | pypdf | no fix listed | UBUNTU-CVE-2026-22690 |
| Ubuntu:26.10 | pypdf | no fix listed | UBUNTU-CVE-2026-22690 |
| Ubuntu:22.04:LTS | pypdf2 | no fix listed | UBUNTU-CVE-2026-22690 |
| Ubuntu:24.04:LTS | pypdf2 | no fix listed | UBUNTU-CVE-2026-22690 |
Affected products (as reported)
Weakness: CWE-400 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U
References
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-4xc4-762w-m6cg x_refsource_CONFIRM
- https://github.com/py-pdf/pypdf/pull/3594 x_refsource_MISC
- https://github.com/py-pdf/pypdf/commit/294165726b646bb7799be1cc787f593f2fdbcf45 x_refsource_MISC
- https://github.com/py-pdf/pypdf/releases/tag/6.6.0 x_refsource_MISC