{"id":"CVE-2026-41314","aliases":["GHSA-x284-j5p8-9c5p","PYSEC-2026-3026"],"title":"pypdf: Manipulated FlateDecode image dimensions can exhaust RAM","summary":"pypdf: Manipulated FlateDecode image dimensions can exhaust RAM","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","vendor":"pypdf","product":"pypdf","ecosystem":"pip","affected":["pypdf < 6.10.2"],"patched":["pypdf 6.10.2"],"published":"2026-04-16","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:51:03.926113177Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-x284-j5p8-9c5p","references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-x284-j5p8-9c5p"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41314"},{"url":"https://github.com/py-pdf/pypdf/pull/3734"},{"url":"https://github.com/py-pdf/pypdf/commit/ac734dab4eef92bcce50d503949b4d9887d89f11"},{"url":"https://github.com/py-pdf/pypdf"},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.10.2"}],"tags":["osv","pip"],"epss":0.00226,"epssPercentile":0.13623,"ingestedAt":"2026-07-13T18:58:04.824Z","slug":"CVE-2026-41314","body":"## Overview\n\n### Impact\nAn attacker who uses this vulnerability can craft a PDF which leads to the RAM being exhausted. This requires accessing an image using `/FlateDecode` with large size values.\n\n### Patches\nThis has been fixed in [pypdf==6.10.2](https://github.com/py-pdf/pypdf/releases/tag/6.10.2).\n\n### Workarounds\nIf you cannot upgrade yet, consider applying the changes from PR [#3734](https://github.com/py-pdf/pypdf/pull/3734).\n\n## Affected packages\n\n- `pypdf < 6.10.2`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `pypdf 6.10.2`","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}