{"id":"BIT-pillow-2026-96638","summary":"Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute mode","details":"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.","aliases":["CVE-2026-96638","GHSA-24rc-8hj2-v98c"],"modified":"2026-10-29T10:55:36.262902070Z","published":"2026-10-29T08:58:12.979Z","database_specific":{"cpes":["cpe:2.3:a:python:pillow:*:*:*:*:*:python:*:*"],"severity":"Medium"},"references":[{"type":"FIX","url":"https://github.com/python-pillow/Pillow/commit/e7794835e323ff2691d9b3a974cade1a44301b9a"},{"type":"REPORT","url":"https://github.com/python-pillow/Pillow/pull/10015"},{"type":"ARTICLE","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"},{"type":"ADVISORY","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-24rc-8hj2-v98c"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96638"}],"affected":[{"package":{"name":"pillow","ecosystem":"Bitnami","purl":"pkg:bitnami/pillow"},"ranges":[{"type":"SEMVER","events":[{"introduced":"9.1.0"},{"fixed":"13.0.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/pillow/BIT-pillow-2026-96638.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}],"schema_version":"1.9.2"}