1. Home
  2. Vulnerabilities
  3. CVE-2026-115580

CVE-2026-115580

pypdf: Possible long runtimes for large xref table header limits

Published 23 Oct 2026 · modified 2 Nov 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Medium 41/100

Summary

pypdf is a free and open-source pure-python PDF library. Prior to 6.21.2, an attacker can craft a PDF with a standard cross-reference table whose declared entry count exceeds what the file can contain, causing excessive processing and long runtimes when the file is opened. This issue is fixed in version 6.21.2.

Affected products and versions

py-pdf (1 line(s))
py-pdf
ProductVersionsFixed inSource
pypdf Versions not specified — CNA (vendor or assigner)
Pypi (1 line(s))
Pypi
ProductVersionsFixed inSource
pypdf before 6.21.2 (excluded) 6.21.2 GitHub Advisory

Fix

Upgrade — PyPI/pypdf 6.21.2official source

Source : GitHub Advisory

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
NVD
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N (CVSS 4.0, CNA:GitHub_M)
Weakness
CWE-834 · Autre (CWE-834)

How this data is obtained and calculated