VDB

CVE-2026-22691

CVE-2026-22691 PUBLISHED CVSS 2.7 LOW

pypdf has possible long runtimes for malformed startxref

Reported by github_m · Published January 10, 2026

pypdf is fixed in 6.6.0 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
pypdfPyPI6.6.0
pypdfpypdf_project6.6.0

Risk scores

CVSS 4.0
2.7
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

Affected products

VendorProductVersions
py-pdfpypdf< 6.6.0
py-pdfpypdf0

Timeline

  • Jan 9, 2026 CVE Published
  • Jan 9, 2026 Fix PR Merged
  • Jan 10, 2026 EPSS Score (30 in total, the first dated here)
  • Jan 12, 2026 CVE Updated
  • Jan 21, 2026 PoC Published (7 in total, the first dated here)
  • Jan 30, 2026 Security Advisory
  • Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-22691
vulnetix vdb fixes CVE-2026-22691

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-22691/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›