{"id":"CVE-2026-28351","aliases":["GHSA-f2v5-7jq9-h8cg","PYSEC-2026-3017"],"title":"pypdf: Manipulated RunLengthDecode streams can exhaust RAM","summary":"pypdf: Manipulated RunLengthDecode streams can exhaust RAM","severity":"medium","vendor":"pypdf","product":"pypdf","ecosystem":"pip","affected":["pypdf < 6.7.4"],"patched":["pypdf 6.7.4"],"published":"2026-02-28","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:50:34.825129703Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-f2v5-7jq9-h8cg","references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-f2v5-7jq9-h8cg"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28351"},{"url":"https://github.com/py-pdf/pypdf/pull/3664"},{"url":"https://github.com/py-pdf/pypdf/commit/f309c6003746414dc7b5048c19e6d879ff2dc858"},{"url":"https://github.com/py-pdf/pypdf"},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.7.4"}],"tags":["osv","pip"],"epss":0.00423,"epssPercentile":0.36238,"ingestedAt":"2026-07-13T18:57:57.025Z","slug":"CVE-2026-28351","body":"## Overview\n\n### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the content stream using the RunLengthDecode filter.\n\n### Patches\nThis has been fixed in [pypdf==6.7.4](https://github.com/py-pdf/pypdf/releases/tag/6.7.4).\n\n### Workarounds\nIf you cannot upgrade yet, consider applying the changes from PR [#3664](https://github.com/py-pdf/pypdf/pull/3664).\n\n## Affected packages\n\n- `pypdf < 6.7.4`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `pypdf 6.7.4`","depth":"sunlit","depthScore":28,"depthScoreParts":{"impact":27.5,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}