CVE-2026-115580 pypdf: Possible long runtimes for large xref table header limits
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-115580?
CVE-2026-115580 is a high-severity vulnerability in py-pdf pypdf, published on 23 Oct 2026.
Official description
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.
Weakness: CWE-834
Which versions are affected by CVE-2026-115580?
2 open source packages ship an affected version, including pypdf.
| Package | Affected | Fixed in |
|---|---|---|
pypdf PyPI | All versions | 6.21.2 |
pypdf PyPI | All versions | 6.21.2 |
How do I fix CVE-2026-115580?
Upgrade pypdf to 6.21.2 or later.
Is CVE-2026-115580 being exploited?
There is no known exploitation of CVE-2026-115580 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-115580, ECHO-6c18-6300-bec7, GHSA-gmh7-3g9r-mjh5, ROOT-APP-PYPI-CVE-2026-115580, UBUNTU-CVE-2026-115580.