{"id":"CVE-2026-49460","published":"2026-06-22T20:28:16Z","modified":"2026-06-23T15:54:39Z","title":"pypdf: Inefficient decoding of FlateDecode PNG predictor streams","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"text":"pypdf is a free and open-source pure-python PDF library. Prior to 6.12.2, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires accessing a stream which uses the /FlateDecode filter with a PNG predictor. This vulnerability is fixed in 6.12.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/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.00166,"percentile":0.05947,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-5hgr-hg42-57jg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/3806","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.12.2","tags":["x_refsource_MISC"]}],"priority":{"score":4.8,"factors":[{"name":"EPSS percentile","points":1.19},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.12.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-23T14:04:25.948226Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.12.2"],"patched":["6.12.2"],"from":["GHSA-5hgr-hg42-57jg","PYSEC-2026-3010"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-38357","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-48155","published":"2026-05-28","fixed":"6.12.0","kev":false},{"cve":"CVE-2026-48156","published":"2026-05-28","fixed":"6.12.0","kev":false},{"cve":"CVE-2026-48735","published":"2026-05-28","fixed":"6.12.1","kev":false,"link":{"from":"CVE-2026-48735","to":"CVE-2026-49460","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.12.1","toFixed":"6.12.2","daysApart":25}]}},{"cve":"CVE-2026-49460","published":"2026-06-22","fixed":"6.12.2","kev":false},{"cve":"CVE-2026-49461","published":"2026-06-22","fixed":"6.12.2","kev":false},{"cve":"CVE-2026-54530","published":"2026-06-22","fixed":"6.13.0","kev":false},{"cve":"CVE-2026-54531","published":"2026-06-22","fixed":"6.13.0","kev":false}],"package":"PyPI:pypdf"}}