7.1High

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

py-pdf pypdf Published: (27 days ago)

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): CWE-834

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
py-pdf pypdf < 6.21.2

References and patches