Description
Pillow before 3.3.2 allows context-dependent attackers to obtain sensitive information by using the "crafted image file" approach, related to an "Integer Overflow" issue affecting the Image.core.map_buffer in map.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.6.1 | SUSE-SU-2019:1772-1 |
| SUSE Enterprise Storage 5 | python-Pillow | 2.8.1-3.3.1 | SUSE-SU-2019:1321-1 |
| SUSE Enterprise Storage 4 | python-Pillow | 2.8.1-4.6.1 | SUSE-SU-2019:1772-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | python-pillow +4 | 2.0.0-23.gitd1c6db8.amzn2.0.9 | ALAS2-2024-2413 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pillow | < 3.3.2 | 3.3.2 | GHSA-rwr3-c2q8-gm56 |
Advisories 6
- 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-2019:1321-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:1772-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2024-2413 Moderate: python-pillow security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jan 9, 2024