Description
Pillow before 3.3.2 allows context-dependent attackers to execute arbitrary code by using the "crafted image file" approach, related to an "Insecure Sign Extension" issue affecting the ImagingNew in Storage.c component.
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 | 3.4.2-1 | — |
| Debian 13 | pillow | 3.4.2-1 | — |
| Debian 12 | pillow | 3.4.2-1 | — |
| Debian 8 | pillow | 2.6.1-2+deb8u3 | DSA-3710-1 |
| Debian 7 | python-imaging | 1.1.7-4+deb7u3 | DLA-705-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | pillow | 3.1.2-0ubuntu1.1 | USN-3230-1 |
| Ubuntu 14.04 LTS | pillow | 2.3.0-1ubuntu3.4 | USN-3230-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE OpenStack Cloud 7 | python-Pillow | 2.8.1-4.3.2 | SUSE-SU-2018:1174-1 |
| SUSE OpenStack Cloud 6 | python-Pillow | 2.7.0-4.3.1 | SUSE-SU-2018:1191-1 |
| SUSE Enterprise Storage 5 | python-Pillow | 2.8.1-3.3.1 | SUSE-SU-2019:1321-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Enterprise Storage 4 | python-Pillow | 2.8.1-4.3.2 | SUSE-SU-2018:1174-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | python-pillow +4 | 2.0.0-23.gitd1c6db8.amzn2.0.4 | ALAS2-2023-2083 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pillow | < 3.3.2 | 3.3.2 | GHSA-w4vg-rf63-f3j3 |
Advisories 7
- DLA-705-1 python-imaging - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3710-1 pillow - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3230-1 pillow vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2018:1174-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:1191-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:1321-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2023-2083 Important: python-pillow security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jun 7, 2023