{"schema":"threatline.record/2","record":{"id":"CVE-2026-115585","aliases":["GHSA-jr96-gvgh-j3r4"],"summary":"pypdf: Possible long runtimes for repeated malformed cross-reference entries (Follow-up)","details":"### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires cross-reference streams with repeated malformed cross-reference streams.\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 [#4240](https://github.com/py-pdf/pypdf/pull/4240).\n\n### Notes\n\nThis is a follow-up to https://github.com/py-pdf/pypdf/security/advisories/GHSA-55h5-xmcq-c37v, which had the side-effect of still loading the whole stream again despite the cache being present.","categories":["Libraries & packages"],"product":"pypdf","vendor":"py-pdf","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-jr96-gvgh-j3r4","source_modified_at":"2026-10-23T20:54:28Z","fetched_at":"2026-10-23T21:10:45.942435Z","package":{"ecosystem":"pip","name":"pypdf"},"range":"< 6.21.2"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-115585","source_modified_at":"2026-10-23T19:31:52.598Z","fetched_at":"2026-10-23T19:58:35.668311Z","product":"pypdf","vendor":"py-pdf","versions":[{"status":"affected","version":"< 6.21.2"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-jr96-gvgh-j3r4","source_modified_at":"2026-10-23T21:00:06.090706376Z","fetched_at":"2026-10-23T21:10:45.942435Z","package":{"name":"pypdf","ecosystem":"PyPI","purl":"pkg:pypi/pypdf"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.21.2"}]}],"versions":["1.0","1.1","1.10","1.11","1.12","1.13","1.2","1.3","1.4","1.5","1.6","1.7","1.8","1.9","3.1.0","3.10.0","3.11.0","3.11.1","3.12.0","3.12.1","3.12.2","3.13.0","3.14.0","3.15.0","3.15.1","3.15.2","3.15.3","3.15.4","3.15.5","3.16.0","3.16.1","3.16.2","3.16.3","3.16.4","3.17.0","3.17.1","3.17.2","3.17.3","3.17.4","3.2.0","3.2.1","3.3.0","3.4.0","3.4.1","3.5.0","3.5.1","3.5.2","3.6.0","3.7.0","3.7.1"]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-jr96-gvgh-j3r4","source_modified_at":"2026-10-23T20:54:28Z","fetched_at":"2026-10-23T21:10:45.942435Z","package":{"ecosystem":"pip","name":"pypdf"},"version":"6.21.2"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-jr96-gvgh-j3r4","source_modified_at":"2026-10-23T21:00:06.090706376Z","fetched_at":"2026-10-23T21:10:45.942435Z","package":{"name":"pypdf","ecosystem":"PyPI","purl":"pkg:pypi/pypdf"},"version":"6.21.2"}],"cvss":7.1,"severity":"High","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-23T19:31:52.598Z","modified_at":"2026-10-23T21:00:06.090706376Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-jr96-gvgh-j3r4","fetched_at":"2026-10-23T21:10:45.942435Z","source_modified_at":"2026-10-23T20:54:28Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-115585","fetched_at":"2026-10-23T19:58:35.668311Z","source_modified_at":"2026-10-23T19:31:52.598Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-jr96-gvgh-j3r4","fetched_at":"2026-10-23T21:10:45.942435Z","source_modified_at":"2026-10-23T21:00:06.090706376Z"}],"sources":["GitHub Advisory Database","CVE List","OSV"],"references":[{"source":"CVE List","url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-jr96-gvgh-j3r4","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/py-pdf/pypdf/pull/4240","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/py-pdf/pypdf/commit/68a0e5046cc9e14a6c24a21a713f3c7fbde18b4b","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/py-pdf/pypdf/releases/tag/6.21.2","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-jr96-gvgh-j3r4","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-23T21:00:06.090706376Z","content_hash":"51898a986701b7c3296af3382bd82abaafcedb89508ae372cf137c5458c3a27d"}}
