# CVE-2026-115580: pypdf: Possible long runtimes for large xref table header limits

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-10-23T19:29:49.845Z
- Modified: 2026-11-02T16:06:04.477Z
- Also known as: GHSA-gmh7-3g9r-mjh5
- Weaknesses: CWE-834
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- py-pdf pypdf: < 6.21.2
- pypdf (PyPI): before 6.21.2

## Every score

- GitHub_M: CVSS:4.0 7.1 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-gmh7-3g9r-mjh5> (web)
- <https://github.com/py-pdf/pypdf/pull/4239> (web)
- <https://github.com/py-pdf/pypdf/commit/a3061e34b169d34478d520f5f049c53cfb1482b2> (web)
- <https://github.com/py-pdf/pypdf/releases/tag/6.21.2> (web)
- <https://github.com/py-pdf/pypdf> (package)

## Sources

- CVE List: [CVE-2026-115580](https://www.cve.org/CVERecord?id=CVE-2026-115580), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-gmh7-3g9r-mjh5](https://github.com/advisories/GHSA-gmh7-3g9r-mjh5), CC-BY-4.0, modified 2026-10-23
- NVD: [CVE-2026-115580](https://nvd.nist.gov/vuln/detail/CVE-2026-115580), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-115580 · Whole record: https://cve.day/CVE-2026-115580.json · Rebuilt by cve.day 2026-11-25T22:59:47.002Z
