CVE-2026-112892

8.7High

Published Oct 19, 2026 · NVD status: Undergoing Analysis · AI triage by gemini-3.8-flash

8.7CVSS

High

0CVSS v4.010

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on availability
Weakness
CWE-409

What an attacker gets

Remote attackers can crash services via out-of-memory denial of service by uploading a small crafted MSP image. No authentication or user interaction is required if the app processes untrusted images.

Root cause

The MSP RLE decoder writes unpacked output to a BytesIO buffer without bounding expansion to the image's declared dimensions, bypassing decompression-bomb checks.

Affected versions

Pillow 4.1.0 before 13.0.0

CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Fix & remediation

Upgrade Pillow to version 13.0.0 or later. If patching immediately is not possible, reject or strip MSP format images before processing.

remediation — bash
$ pip install --upgrade 'pillow>=13.0.0'

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

Pillow is a Python imaging library. From 4.1.0 until 13.0.0, Pillow's MSP RLE decoder can expand a small file into an unbounded in-memory buffer. The decoder writes run-length output to BytesIO without limiting expansion to the declared image size. An attacker can supply a crafted MSP image to an application that loads its pixels. This can exhaust memory and deny service even when the declared pixel count passes the decompression-bomb check. This issue is fixed in version 13.0.0.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-112892

More fully triaged vulnerabilities you may want to check next.