CVE-2026-22690 PUBLISHED

pypdf has possible long runtimes for missing /Root object with large /Size values

Assigner: GitHub_M
Reserved: 08.01.2026 Published: 10.01.2026 Updated: 12.01.2026

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.

Metrics

CVSS 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
CVSS Score: 2.7

Product Status

Vendor py-pdf
Product pypdf
Versions
  • Version < 6.6.0 is affected

References

Problem Types

  • CWE-400: Uncontrolled Resource Consumption CWE