{"id":"CVE-2026-49460","aliases":["GHSA-5hgr-hg42-57jg"],"title":"pypdf: Inefficient decoding of FlateDecode PNG predictor streams","summary":"pypdf: Inefficient decoding of FlateDecode PNG predictor streams","severity":"medium","cwe":["CWE-407"],"vendor":"pypdf","product":"pypdf","ecosystem":"pip","affected":["pypdf < 6.12.2"],"patched":["pypdf 6.12.2"],"published":"2026-06-16","updated":"2026-06-16","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-5hgr-hg42-57jg","references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-5hgr-hg42-57jg"},{"url":"https://github.com/py-pdf/pypdf/pull/3806"},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.12.2"},{"url":"https://github.com/advisories/GHSA-5hgr-hg42-57jg"}],"tags":["ghsa","pip"],"epss":0.00166,"epssPercentile":0.0626,"ingestedAt":"2026-07-07T15:41:58.389Z","slug":"CVE-2026-49460","body":"## Overview\n\n### Impact\nAn 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.\n\n### Patches\nThis has been fixed in [pypdf==6.12.2](https://github.com/py-pdf/pypdf/releases/tag/6.12.2).\n\n### Workarounds\nIf you cannot upgrade yet, consider applying the changes from PR [#3806](https://github.com/py-pdf/pypdf/pull/3806).\n\n## Affected packages\n\n- `pypdf < 6.12.2`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `pypdf 6.12.2`","depth":"sunlit","depthScore":28,"depthScoreParts":{"impact":27.5,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}