CVE-2026-96638: Python Pillow
Medium severity, CVSS 6.5. EPSS: 0.4% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Python Pillow, from 9.1.0, before 13.0.0: fixed in 13.0.0
Affected products
Affected packages
- pillow (PyPI)
Published 2026-10-21. Last modified 2026-10-28.