{"id":"CVE-2026-96638","published":"2026-10-21T20:47:21Z","modified":"2026-10-28T18:21:53Z","title":"Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute mode","vendor":"python-pillow","product":"Pillow","tier":"tail","description":{"text":"Pillow is a Python imaging library. From 9.1.0 until 13.0.0, BmpRleDecoder.decode() in src/PIL/BmpImagePlugin.py permits crafted RLE BMP delta escapes and absolute-mode runs to append beyond the remaining dest_length without a per-branch cap. A delta can add roughly 255 image rows in one iteration, so a kilobyte-sized file with a large but permitted width can expand the data bytearray to hundreds of megabytes or more, causing memory-exhaustion denial of service. This issue is fixed in version 13.0.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0046,"percentile":0.3181,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-24rc-8hj2-v98c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/python-pillow/Pillow/pull/10015","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-pillow/Pillow/commit/e7794835e323ff2691d9b3a974cade1a44301b9a","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":6.36},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"python-pillow","affectedVersions":[{"vendor":"python-pillow","product":"Pillow","versions":[">= 9.1.0, < 13.0.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-28T18:20:26.959004Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pillow","vulnerableRanges":[">=9.1.0, <13.0.0"],"patched":["13.0.0"],"from":["GHSA-24rc-8hj2-v98c"],"provenance":"source"}],"summary":{"text":"The flaw is in the RLE BMP decoder (BmpRleDecoder.decode() in BmpImagePlugin.py) of Pillow, the Python imaging library, where delta escapes and absolute-mode runs are not capped against the remaining destination length. An attacker can supply a crafted, kilobyte-sized RLE BMP file, which needs user interaction (such as opening or processing the image) and no authentication, to make the decoder grow its data buffer to hundreds of megabytes or more, exhausting memory and causing a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:42Z"},"euvd":{"id":"EUVD-2026-107559","exploited":false,"provenance":"source"}}