ADVISORIES

Vulnerability

CVE-2026-22691

pypdf is a free and open-source pure-python PDF library. Prior to version 6.6.0, pypdf has possible long runtimes for malformed startxref. An attacker who uses this vulnerability can craft a PDF which leads to possibly long runtimes for invalid startxref entries. When rebuilding the cross-reference table, PDF files with lots of whitespace characters become problematic. Only the non-strict reading mode is affected. Only the non-strict reading mode is affected. This issue has been patched in version 6.6.0.

4 advisories report this vulnerability, across 3 ecosystems.

Low severity All PyPI 2Debian 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2026-22691

    pypdf is a free and open-source pure-python PDF library. Prior to version 6.6.0, pypdf has possible long runtimes for malformed startxref. An attacker who uses this vulnerability can craft a PDF which leads to possibly…

    CVE-2026-22691 Debian Updated 3 November 2026
  • GHSA-4f6g-68pf-7vhv

    pypdf has possible long runtimes for malformed startxref

    Low CVE-2026-22691 PyPI Updated 7 July 2026
  • PYSEC-2026-1828

    pypdf has possible long runtimes for malformed startxref

    CVE-2026-22691 PyPI Updated 7 July 2026
  • UBUNTU-CVE-2026-22691

    pypdf is a free and open-source pure-python PDF library. Prior to version 6.6.0, pypdf has possible long runtimes for malformed startxref. An attacker who uses this vulnerability can craft a PDF which leads to possibly…

    CVE-2026-22691 Ubuntu Updated 17 October 2026

References