{"id":"CVE-2026-28804","published":"2026-03-06T06:46:28Z","modified":"2026-03-06T16:05:28Z","title":"pypdf: Inefficient decoding of ASCIIHexDecode streams","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"text":"pypdf is a free and open-source pure-python PDF library. Prior to version 6.7.5, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires accessing a stream which uses the /ASCIIHexDecode filter. This issue has been patched in version 6.7.5.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00444,"percentile":0.3944,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-9m86-7pmv-2852","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/3666","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/commit/648c627d2657447dfb1773412af05a0a5103b98f","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.7.5","tags":["x_refsource_MISC"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":7.89},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.7.5"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-06T15:59:59.320844Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.7.5"],"patched":["6.7.5"],"from":["GHSA-9m86-7pmv-2852","PYSEC-2026-3014"],"provenance":"source"}],"summary":{"text":"The flaw is an inefficient decoding routine for ASCIIHexDecode streams in pypdf, a pure-Python, open-source PDF library. An attacker who can supply a crafted PDF over the network, with no authentication or user interaction required, can cause pypdf to run for an excessively long time when it accesses a stream using the /ASCIIHexDecode filter.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:03Z"},"euvd":{"id":"EUVD-2026-10010","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-py-pdf-pypdf-cve-2026-28351","parents":[{"from":"CVE-2026-28351","to":"CVE-2026-28804","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.7.4","toFixed":"6.7.5","daysApart":7},{"kind":"same-code","provenance":"machine","files":["pypdf/filters.py"],"commits":["https://github.com/py-pdf/pypdf/commit/f309c6003746414dc7b5048c19e6d879ff2dc858","https://github.com/py-pdf/pypdf/commit/648c627d2657447dfb1773412af05a0a5103b98f"],"basis":"shared function","functions":["decode"]}]}],"children":[{"from":"CVE-2026-28804","to":"CVE-2026-41312","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/filters.py"],"commits":["https://github.com/py-pdf/pypdf/commit/648c627d2657447dfb1773412af05a0a5103b98f","https://github.com/py-pdf/pypdf/commit/ac734dab4eef92bcce50d503949b4d9887d89f11"],"basis":"shared function","functions":["decode"]}]},{"from":"CVE-2026-28804","to":"CVE-2026-41314","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/filters.py"],"commits":["https://github.com/py-pdf/pypdf/commit/648c627d2657447dfb1773412af05a0a5103b98f","https://github.com/py-pdf/pypdf/commit/ac734dab4eef92bcce50d503949b4d9887d89f11"],"basis":"shared function","functions":["decode"]}]}],"packageHistory":[{"cve":"CVE-2026-27628","published":"2026-02-25","fixed":"6.7.2","kev":false},{"cve":"CVE-2026-27888","published":"2026-02-26","fixed":"6.7.3","kev":false},{"cve":"CVE-2026-28351","published":"2026-02-27","fixed":"6.7.4","kev":false},{"cve":"CVE-2026-28804","published":"2026-03-06","fixed":"6.7.5","kev":false},{"cve":"CVE-2026-31826","published":"2026-03-10","fixed":"6.8.0","kev":false,"link":{"from":"CVE-2026-28804","to":"CVE-2026-31826","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.7.5","toFixed":"6.8.0","daysApart":4},{"kind":"same-code","provenance":"machine","files":["pypdf/filters.py"],"commits":["https://github.com/py-pdf/pypdf/commit/648c627d2657447dfb1773412af05a0a5103b98f","https://github.com/py-pdf/pypdf/commit/3c550b3196adeba1506a26e57c09c09fac75e9aa"],"basis":"shared file"}]}},{"cve":"CVE-2026-33123","published":"2026-03-20","fixed":"6.9.1","kev":false},{"cve":"CVE-2026-33699","published":"2026-03-26","fixed":"6.9.2","kev":false}],"package":"PyPI:pypdf"}}