Description
Buffer overflow in the ImagingLibTiffDecode function in libImaging/TiffDecode.c in Pillow before 3.1.1 allows remote attackers to overwrite memory via a crafted TIFF file.
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.1.1-1 | — |
| Debian 13 | pillow | 3.1.1-1 | — |
| Debian 12 | pillow | 3.1.1-1 | — |
| Debian 8 | pillow | 2.6.1-2+deb8u2 | DSA-3499-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | pillow | 2.3.0-1ubuntu3.2 | USN-3090-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE OpenStack Cloud 6 | python-Pillow | 2.7.0-3.1 | SUSE-SU-2016:0935-1 |
| SUSE OpenStack Cloud 5 | python-Pillow | 2.7.0-9.1 | SUSE-SU-2016:0924-1 |
| SUSE Enterprise Storage 2.1 | python-Pillow | 2.7.0-3.1 | SUSE-SU-2016:0935-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Enterprise Storage 2 | python-Pillow | 2.7.0-3.2 | SUSE-SU-2016:1569-1 |
| SUSE Enterprise Storage 1.0 | python-Pillow | 2.7.0-7.1 | SUSE-SU-2016:1355-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-Pillow | 3.1.1-4.1 | openSUSE-SU-2026:11261-1, openSUSE-SU-2024:13827-1, openSUSE-SU-2024:11209-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | python-pillow +4 | 2.0.0-23.gitd1c6db8.amzn2.0.15 | ALAS2-2025-2784 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pillow | < 3.1.1 | 3.1.1 | GHSA-hggx-3h72-49ww |
Advisories 12
- openSUSE-SU-2026:11261-1 python313-Pillow-12.3.0-1.1 on GA media SUSE / openSUSE Security Updates · Jul 13, 2026
- DSA-3499-1 pillow - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3090-1 Pillow vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- openSUSE-SU-2024:13827-1 python310-Pillow-10.3.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10511-1 python3-Pillow-3.4.2-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0924-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11209-1 python36-Pillow-8.3.2-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0935-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:1569-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:1355-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10567-1 python-Pillow-3.1.1-4.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2025-2784 Moderate: python-pillow security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Mar 7, 2025