{"id":"CVE-2026-115580","aliases":["GHSA-gmh7-3g9r-mjh5"],"title":"pypdf: Possible long runtimes for large xref table header limits","summary":"pypdf: Possible long runtimes for large xref table header limits","severity":"high","cvss":7.1,"cwe":["CWE-834"],"vendor":"pypdf","product":"pypdf","ecosystem":"pip","affected":["pypdf < 6.21.2"],"patched":["pypdf 6.21.2"],"published":"2026-10-23","updated":"2026-10-23","sourceUpdated":"2026-10-23T20:54:14Z","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-gmh7-3g9r-mjh5","references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-gmh7-3g9r-mjh5"},{"url":"https://github.com/py-pdf/pypdf/pull/4239"},{"url":"https://github.com/py-pdf/pypdf/commit/a3061e34b169d34478d520f5f049c53cfb1482b2"},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.21.2"},{"url":"https://github.com/advisories/GHSA-gmh7-3g9r-mjh5"}],"tags":["ghsa","pip","cve.org"],"cvssVector":"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","cvssSource":"cna","ingestedAt":"2026-10-23T20:36:51.540Z","slug":"CVE-2026-115580","body":"## Overview\n\n### 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).\n\n## Affected packages\n\n- `pypdf < 6.21.2`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `pypdf 6.21.2`","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":39.1,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}