{"id":"CVE-2026-115580","aliases":["CVE-2026-115580","GHSA-gmh7-3g9r-mjh5"],"related":[],"kind":"vulnerability","state":"published","title":"pypdf: Possible long runtimes for large xref table header limits","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires opening a file with large/wrong upper limits in the xref table.\n\n### Patches\n\nThis has been fixed in [pypdf==6.21.2](https://github.com/py-pdf/pypdf/releases/tag/6.21.2).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#4239](https://github.com/py-pdf/pypdf/pull/4239).","format":"markdown","source":"ghsa"}],"published":"2026-10-23T19:29:49.845Z","modified":"2026-11-02T16:06:04.477Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS: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","rating":"HIGH"}],"cwes":["CWE-834"],"affected":[{"ranges":[{"version":"< 6.21.2","status":"affected"}],"vendor":"py-pdf","product":"pypdf","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.21.2"}],"ecosystem":"PyPI","package":"pypdf","purl":"pkg:pypi/pypdf","source":"ghsa"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-gmh7-3g9r-mjh5","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/py-pdf/pypdf/pull/4239","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/py-pdf/pypdf/commit/a3061e34b169d34478d520f5f049c53cfb1482b2","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.21.2","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/py-pdf/pypdf","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-29T18:01:08.614Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-115580","url":"https://www.cve.org/CVERecord?id=CVE-2026-115580","licence":"CVE Terms of Use","modified":"2026-10-29T18:01:23.279Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gmh7-3g9r-mjh5","url":"https://github.com/advisories/GHSA-gmh7-3g9r-mjh5","licence":"CC-BY-4.0","modified":"2026-10-23T21:00:05.293Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-115580","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115580","licence":"Public domain","modified":"2026-11-02T16:06:04.477Z"}],"updatedAt":"2026-11-25T22:59:47.002Z","epss":{"score":0.00444,"percentile":0.40322,"date":"2026-12-01T12:00:22.000Z"}}