1. Home
  2. Vulnerabilities
  3. CVE-2026-112892

CVE-2026-112892

Pillow: MSP RLE decoder expands a tiny file into unbounded memory

Published 19 Oct 2026 · modified 27 Oct 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Medium 42/100

Summary

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.

Affected products and versions

python-pillow (1 line(s))
python-pillow
ProductVersionsFixed inSource
Pillow Versions not specified — CNA (vendor or assigner)
Pypi (1 line(s))
Pypi
ProductVersionsFixed inSource
pillow from 4.1.0 (included) to 13.0.0 (excluded) 13.0.0 GitHub Advisory
Python (1 line(s))
Python
ProductVersionsFixed inSource
Pillow from 4.1.0 (included) to 13.0.0 (excluded) — NVD

Fix

Upgrade — PyPI/pillow 13.0.0official source

Source : GitHub Advisory

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)
  2. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1486)
  3. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1527)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-409 · Autre (CWE-409)

How this data is obtained and calculated