{"id":"CVE-2026-112892","published":"2026-10-19T21:35:25Z","modified":"2026-10-22T21:11:24Z","title":"Pillow: MSP RLE decoder expands a tiny file into unbounded memory","vendor":"python-pillow","product":"Pillow","tier":"tail","description":{"text":"Pillow is a Python imaging library. From 4.1.0 until 13.0.0, Pillow's MSP RLE decoder can expand a small file into an unbounded in-memory buffer. The decoder writes run-length output to BytesIO without limiting expansion to the declared image size. An attacker can supply a crafted MSP image to an application that loads its pixels. This can exhaust memory and deny service even when the declared pixel count passes the decompression-bomb check. This issue is fixed in version 13.0.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00503,"percentile":0.43939,"provenance":"source"},"cwes":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"references":[{"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-gg2r-wvfm-q9rx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/python-pillow/Pillow/commit/5dcb630b9798efd91929cb873d677aeee6ed0bb3","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":8.79},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"python-pillow","affectedVersions":[{"vendor":"python-pillow","product":"Pillow","versions":[">= 4.1.0, < 13.0.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-22T21:11:15.830778Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pillow","vulnerableRanges":[">=4.1.0, <13.0.0"],"patched":["13.0.0"],"from":["GHSA-gg2r-wvfm-q9rx"],"provenance":"source"}],"summary":{"text":"The Pillow imaging library's MSP RLE decoder can expand a small crafted file into an unbounded in-memory buffer, because its run-length output is written to BytesIO without being limited to the declared image size. An attacker who can supply a crafted MSP image to an application that loads its pixels, with no authentication or user interaction required, can exhaust memory and cause a denial of service, even when the declared pixel count passes the decompression-bomb check.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:23Z"},"euvd":{"id":"EUVD-2026-104650","exploited":false,"provenance":"source"}}