Improper handling of highly compressed data in Pillow - CVE-2026-112892
Published: November 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service through memory exhaustion.
The vulnerability exists due to uncontrolled expansion of run-length encoded data in Pillow's MSP RLE decoder when loading image pixels. A remote attacker can supply a small crafted MSP image that expands into an unbounded io.BytesIO buffer without a limit tied to the declared image size to exhaust application memory and cause a denial of service.
Affected software
Fedora
python-pillow
How to mitigate CVE-2026-112892
python-pillow - addressed in versions 11.3.0-14.fc43, 12.3.0-4.fc44, 12.3.0-4.fc45, 12.3.0-5.fc45