{"id":"CVE-2026-113794","published":"2026-10-21T15:59:26Z","modified":"2026-10-28T01:20:41Z","title":"pypdf: Possible infinite loop when hitting EOF in standard xref table","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"text":"pypdf is a free and open-source pure-python PDF library. Prior to 6.20.0, an attacker can craft an incomplete PDF that ends inside a standard cross-reference table, causing pypdf to mishandle the unexpected end of file and enter an infinite loop. This issue is fixed in version 6.20.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/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.00384,"percentile":0.2422,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-39mj-jf6j-2qj3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/issues/4169","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/pull/4170","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/commit/37e1cd681744bac38b159f7e1c614eee8d639c58","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.20.0","tags":["x_refsource_MISC"]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":4.84},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.20.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-28T01:20:32.593442Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.20.0"],"patched":["6.20.0"],"from":["GHSA-39mj-jf6j-2qj3"],"provenance":"source"}],"summary":{"text":"The flaw is in pypdf, the pure-Python PDF library, where it mishandles an unexpected end of file that occurs inside a standard cross-reference table, causing it to enter an infinite loop. An attacker can exploit this by supplying a crafted, incomplete PDF over the network, with no authentication required but user interaction needed (the victim must process the file), resulting in a denial of service through availability impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:02Z"},"euvd":{"id":"EUVD-2026-107335","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-102998","published":"2026-09-30","fixed":"6.19.0","kev":false},{"cve":"CVE-2026-102999","published":"2026-09-30","fixed":"6.19.0","kev":false},{"cve":"CVE-2026-103000","published":"2026-09-30","fixed":"6.19.0","kev":false,"link":{"from":"CVE-2026-103000","to":"CVE-2026-113794","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.19.0","toFixed":"6.20.0","daysApart":21}]}},{"cve":"CVE-2026-113794","published":"2026-10-21","fixed":"6.20.0","kev":false},{"cve":"CVE-2026-113795","published":"2026-10-21","fixed":"6.20.0","kev":false},{"cve":"CVE-2026-113792","published":"2026-10-21","fixed":"6.20.1","kev":false,"link":{"from":"CVE-2026-113794","to":"CVE-2026-113792","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.20.0","toFixed":"6.20.1","daysApart":0}]}},{"cve":"CVE-2026-113793","published":"2026-10-21","fixed":"6.20.1","kev":false,"link":{"from":"CVE-2026-113794","to":"CVE-2026-113793","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.20.0","toFixed":"6.20.1","daysApart":0}]}}],"package":"PyPI:pypdf"}}