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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| python-pillow | Pillow | >= 4.1.0, < 13.0.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pillow | No fix yet | — |
| Debian 13 | pillow | No fix yet | — |
| Debian 12 | pillow | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | pillow | No fix yet | — |
| Ubuntu 26.04 LTS | pillow | No fix yet | — |
| Ubuntu 24.04 LTS | pillow | No fix yet | — |
| Ubuntu 22.04 LTS | pillow | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | pillow +1 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | pillow | No fix yet | — |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | python3-pillow +3 | 5.1.1-33.el8_10 | ALSA-2026:92639 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | python-pillow | 5.1.1-33.el8_10 | RLSA-2026:92639 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | python-Pillow | 7.2.0-150300.3.33.1 | SUSE-SU-2026:5038-1 |
| SLES 15 SP6 | python-Pillow | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SLES 15 SP5 | python-Pillow | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SLES 15 SP4 | python-Pillow | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SLES 3 | python-Pillow | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | python-Pillow | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SLES for SAP 15 SP6 | python-Pillow | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SLES for SAP 15 SP5 | python-Pillow | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SLES for SAP 15 SP4 | python-Pillow | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SLES 16.0 | python-Pillow | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SLE HPC 15 SP5 | python-Pillow | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SLE HPC 15 SP4 | python-Pillow | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-Pillow | 13.0.0-1.1 | openSUSE-SU-2026:12230-1 |
| openSUSE Leap 16.0 | python-Pillow | 11.3.0-160000.9.1 | openSUSE-SU-2026:22246-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | python3-pillow +3 | 5.1.1-33.el8_10 | ELSA-2026-92639 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | open-webui | 0.12.3-r6 | — |
| Wolfi rolling | py3.10-pillow | No fix yet | — |
| Wolfi rolling | py3.11-pillow +2 | 13.0.0-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pillow | >= 4.1.0, < 13.0.0 | 13.0.0 | GHSA-gg2r-wvfm-q9rx |
Advisories 9
- SUSE-SU-2026:24656-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Nov 12, 2026
- SUSE-SU-2026:5194-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Nov 12, 2026
- WID-SEC-2026-4243 Red Hat Enterprise Linux (pillow and aspell): Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026
- openSUSE-SU-2026:22246-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Nov 11, 2026
- SUSE-SU-2026:5038-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Nov 3, 2026
- RLSA-2026:92639 Important: python-pillow security update Rocky Linux Security Advisories · Oct 30, 2026
- ALSA-2026:92639 Important: python-pillow security update AlmaLinux Security Advisories · Oct 30, 2026
- ELSA-2026-92639 Important: python-pillow security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 30, 2026
- openSUSE-SU-2026:12230-1 python313-Pillow-13.0.0-1.1 on GA media SUSE / openSUSE Security Updates · Oct 23, 2026