{"id":"CVE-2026-27026","published":"2026-02-20T21:12:33Z","modified":"2026-02-24T18:47:02Z","title":"pypdf possibly has long runtimes for malformed FlateDecode streams","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"text":"pypdf is a free and open-source pure-python PDF library. Prior to 6.7.1, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires a malformed /FlateDecode stream, where the byte-by-byte decompression is used. This vulnerability is fixed in 6.7.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00219,"percentile":0.07181,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-9mvc-8737-8j8h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/3644","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/commit/7905842d833f899f1d3228af7e7467ad80277016","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.7.1","tags":["x_refsource_MISC"]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":1.44},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.7.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-24T18:46:44.502341Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.7.1"],"patched":["6.7.1"],"from":["GHSA-9mvc-8737-8j8h","PYSEC-2026-3015"],"provenance":"source"}],"summary":{"text":"pypdf, a pure-Python PDF library, contains a flaw in its FlateDecode stream handling that causes excessive processing time when it decompresses malformed streams byte by byte. An attacker who can supply a crafted PDF to an application using pypdf can trigger long runtimes and tie up resources, requiring only local access and no privileges or user interaction. Versions prior to 6.7.1 are affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:46Z"},"euvd":{"id":"EUVD-2026-7787","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-py-pdf-pypdf-cve-2026-27026","children":[{"from":"CVE-2026-27026","to":"CVE-2026-102997","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/filters.py"],"commits":["https://github.com/py-pdf/pypdf/commit/d9d38cf99b115deb562d3b68f36c33027bc04f79","https://github.com/py-pdf/pypdf/commit/7905842d833f899f1d3228af7e7467ad80277016"],"basis":"shared function","functions":["decompress"]}]}],"packageHistory":[{"cve":"CVE-2026-24688","published":"2026-01-27","fixed":"6.6.2","kev":false,"link":{"from":"CVE-2026-24688","to":"CVE-2026-27026","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.6.2","toFixed":"6.7.1","daysApart":24}]}},{"cve":"CVE-2026-27024","published":"2026-02-20","fixed":"6.7.1","kev":false},{"cve":"CVE-2026-27025","published":"2026-02-20","fixed":"6.7.1","kev":false},{"cve":"CVE-2026-27026","published":"2026-02-20","fixed":"6.7.1","kev":false},{"cve":"CVE-2026-27628","published":"2026-02-25","fixed":"6.7.2","kev":false,"link":{"from":"CVE-2026-27026","to":"CVE-2026-27628","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.7.1","toFixed":"6.7.2","daysApart":5}]}},{"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}],"package":"PyPI:pypdf"}}