Skip to main content
← All vulnerabilities
CVE-2026-96638GHSA-24RC-8HJ2-V98C

Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute mode

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 9.1.0 until 13.0.0, BmpRleDecoder.decode() in src/PIL/BmpImagePlugin.py permits crafted RLE BMP delta escapes and absolute-mode runs to append beyond the remaining dest_length without a per-branch cap. A delta can add roughly 255 image rows in one iteration, so a kilobyte-sized file with a large but permitted width can expand the data bytearray to hundreds of megabytes or more, causing memory-exhaustion denial of service. 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 9.1.0 · fixed in 13.0.0

  • pillowPyPI

    From 9.1.0 · fixed in 13.0.0

References 4

GitHub · python-pillow/Pillow