Skip to main content
← All vulnerabilities
CVE-2026-112892GHSA-GG2R-WVFM-Q9RXBIT-PILLOW-2026-112892

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 13.0.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • python-pillow Pillow

    From 4.1.0 · fixed in 13.0.0

  • pillowPyPI

    From 4.1.0 · fixed in 13.0.0

  • pillowBitnami

    From 4.1.0 · fixed in 13.0.0

References 3

GitHub · python-pillow/Pillow