- Home
- Vulnerabilities
- CVE-2026-115580
CVE-2026-115580
pypdf: Possible long runtimes for large xref table header limits
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))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| pypdf | Versions not specified | — | CNA (vendor or assigner) |
Pypi (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| 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
- — CVE published (cve)
CERT-FR advisories
- GHSA-gmh7-3g9r-mjh5 — pypdf: Possible long runtimes for large xref table header limits 23 Oct 2026
References
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-gmh7-3g9r-mjh5x_refsource_CONFIRM
- https://github.com/py-pdf/pypdf/pull/4239x_refsource_MISC
- https://github.com/py-pdf/pypdf/commit/a3061e34b169d34478d520f5f049c53cfb1482b2x_refsource_MISC
- https://github.com/py-pdf/pypdf/releases/tag/6.21.2x_refsource_MISC
- https://github.com/py-pdf/pypdfPACKAGE
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)