{"id":"CVE-2026-41312","aliases":["GHSA-7gw9-cf7v-778f","PYSEC-2026-3011"],"title":"pypdf: Manipulated FlateDecode predictor parameters can exhaust RAM","summary":"pypdf: Manipulated FlateDecode predictor parameters 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:50:43.750842855Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-7gw9-cf7v-778f","references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-7gw9-cf7v-778f"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41312"},{"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.13607,"ingestedAt":"2026-07-13T18:57:54.508Z","slug":"CVE-2026-41312","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 a stream compressed using `/FlateDecode` with a `/Predictor` unequal 1 and large predictor parameters.\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":[]}