Improper handling of highly compressed data in Pillow - CVE-2026-112892

 

Improper handling of highly compressed data in Pillow - CVE-2026-112892

Published: November 3, 2026


Vulnerability identifier: #VU158911
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-112892
CWE-ID: CWE-409
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

Pillow
Fedora
python-pillow

How to mitigate CVE-2026-112892

Install security update from vendor's website.

Pillow - update to 13.0.0
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

External References

Related Security Bulletins