{"schema":"threatline.record/2","record":{"id":"CVE-2026-113794","aliases":["GHSA-39mj-jf6j-2qj3"],"summary":"pypdf: Possible infinite loop when hitting EOF in standard xref table","details":"### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires an incomplete file which ends inside the xref table.\n\n### Patches\n\nThis has been fixed in [pypdf==6.20.0](https://github.com/py-pdf/pypdf/releases/tag/6.20.0).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#4170](https://github.com/py-pdf/pypdf/pull/4170).\n\n### Notes\n\nThis has been reported through both the secure channel and as a public issue at [#4169](https://github.com/py-pdf/pypdf/issues/4169).","categories":["Libraries & packages"],"product":"pypdf","vendor":"py-pdf","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-39mj-jf6j-2qj3","source_modified_at":"2026-10-21T16:54:46Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"pip","name":"pypdf"},"range":"< 6.20.0"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-113794","source_modified_at":"2026-10-21T15:59:26.054Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"pypdf","vendor":"py-pdf","versions":[{"status":"affected","version":"< 6.20.0"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-39mj-jf6j-2qj3","source_modified_at":"2026-10-21T17:00:26.618873039Z","fetched_at":"2026-10-23T18:52:38.922436Z","package":{"name":"pypdf","ecosystem":"PyPI","purl":"pkg:pypi/pypdf"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.20.0"}]}],"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-39mj-jf6j-2qj3","source_modified_at":"2026-10-21T16:54:46Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"pip","name":"pypdf"},"version":"6.20.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-39mj-jf6j-2qj3","source_modified_at":"2026-10-21T17:00:26.618873039Z","fetched_at":"2026-10-23T18:52:38.922436Z","package":{"name":"pypdf","ecosystem":"PyPI","purl":"pkg:pypi/pypdf"},"version":"6.20.0"}],"cvss":6,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00466,"percentile":0.39376,"score_date":"2026-10-23"},"published_at":"2026-10-21T15:59:26.054Z","modified_at":"2026-10-21T17:00:26.618873039Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-39mj-jf6j-2qj3","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-21T16:54:46Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-113794","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-21T15:59:26.054Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-39mj-jf6j-2qj3","fetched_at":"2026-10-23T18:52:38.922436Z","source_modified_at":"2026-10-21T17:00:26.618873039Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-113794","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-39mj-jf6j-2qj3","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/py-pdf/pypdf/issues/4169","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/py-pdf/pypdf/pull/4170","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/py-pdf/pypdf/commit/37e1cd681744bac38b159f7e1c614eee8d639c58","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/py-pdf/pypdf/releases/tag/6.20.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-39mj-jf6j-2qj3","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-21T17:00:26.618873039Z","content_hash":"a3df1af44a2019fe2b965bb9c9b1a6940905b5b23a4b8d6d231a384896b7e353"}}
