{"id":"CVE-2026-115580","published":"2026-10-23T19:29:49Z","modified":"2026-10-29T18:01:23Z","title":"pypdf: Possible long runtimes for large xref table header limits","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0041,"percentile":0.3613,"provenance":"source"},"cwes":[{"id":"CWE-834","name":"Excessive Iteration"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-gmh7-3g9r-mjh5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/4239","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/commit/a3061e34b169d34478d520f5f049c53cfb1482b2","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.21.2","tags":["x_refsource_MISC"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":7.23},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.21.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-29T18:01:08.614500Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.21.2"],"patched":["6.21.2"],"from":["GHSA-gmh7-3g9r-mjh5"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-109129","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-py-pdf-pypdf-cve-2026-59937","parents":[{"from":"CVE-2026-59937","to":"CVE-2026-115580","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/_reader.py"],"commits":["https://github.com/py-pdf/pypdf/commit/a3061e34b169d34478d520f5f049c53cfb1482b2","https://github.com/py-pdf/pypdf/commit/b5fc5aa714f4b696fb9b1deaa35a9e4a4eb50dae"],"basis":"shared function","functions":["_read_standard_xref_table"]}]},{"from":"CVE-2026-113794","to":"CVE-2026-115580","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/_reader.py"],"commits":["https://github.com/py-pdf/pypdf/commit/37e1cd681744bac38b159f7e1c614eee8d639c58","https://github.com/py-pdf/pypdf/commit/a3061e34b169d34478d520f5f049c53cfb1482b2"],"basis":"shared function","functions":["_read_standard_xref_table"]}]},{"from":"CVE-2026-115572","to":"CVE-2026-115580","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/_reader.py","pypdf/_utils.py"],"commits":["https://github.com/py-pdf/pypdf/commit/68a0e5046cc9e14a6c24a21a713f3c7fbde18b4b","https://github.com/py-pdf/pypdf/commit/a3061e34b169d34478d520f5f049c53cfb1482b2"],"basis":"shared function","functions":["_read_standard_xref_table"]}]}],"children":[{"from":"CVE-2026-115580","to":"CVE-2026-115585","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/_reader.py","pypdf/_utils.py"],"commits":["https://github.com/py-pdf/pypdf/commit/a3061e34b169d34478d520f5f049c53cfb1482b2","https://github.com/py-pdf/pypdf/commit/68a0e5046cc9e14a6c24a21a713f3c7fbde18b4b"],"basis":"shared function","functions":["_read_standard_xref_table"]}]}],"packageHistory":[{"cve":"CVE-2026-113791","published":"2026-10-21","fixed":"6.21.0","kev":false},{"cve":"CVE-2026-113786","published":"2026-10-21","fixed":"6.21.1","kev":false,"link":{"from":"CVE-2026-113786","to":"CVE-2026-115580","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.21.1","toFixed":"6.21.2","daysApart":2}]}},{"cve":"CVE-2026-115572","published":"2026-10-23","fixed":"6.21.2","kev":false},{"cve":"CVE-2026-115580","published":"2026-10-23","fixed":"6.21.2","kev":false},{"cve":"CVE-2026-115585","published":"2026-10-23","fixed":"6.21.2","kev":false},{"cve":"CVE-2026-119206","published":"2026-10-29","fixed":"6.21.3","kev":false},{"cve":"CVE-2026-119207","published":"2026-10-29","fixed":"6.21.3","kev":false}],"package":"PyPI:pypdf"}}