Description
Pillow is a Python imaging library. In versions through 12.3.0, the libtiff TIFF encoder can pass arguments to TIFFSetField() that do not match libtiff’s definition of the corresponding tag. When an application saves attacker-controlled image metadata through this encoder, crafted tag values can cause invalid memory reads, copying process memory into the encoded output or crashing the process. Applications that return the encoded output to an attacker can disclose that memory. The issue is reachable when re-saving compressed TIFF images and through certain conversions that preserve EXIF metadata into compressed TIFF output. This vulnerability is fixed in version 13.0.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| python-pillow | Pillow | < 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 4 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 | — |
| Ubuntu Pro 16.04 LTS | pillow | No fix yet | — |
| Ubuntu Pro 14.04 LTS | pillow | No fix yet | — |
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-2.1 | openSUSE-SU-2026:12251-1 |
| openSUSE Leap 16.0 | python-Pillow | 11.3.0-160000.9.1 | openSUSE-SU-2026:22246-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | python3-pillow +2 | 9.4.0-2.amzn2023.0.13 | ALAS2023-2026-3441 |
| Amazon Linux 2 | python-pillow +4 | 2.0.0-23.gitd1c6db8.amzn2.0.22 | ALAS2-2026-4107 |
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 | >= 5.4.0, < 13.0.0 | 13.0.0 | GHSA-xvh5-g6gv-559v |
| PyPI | pillow | < 13.0.0 | 13.0.0 | PYSEC-2026-4363 |
Advisories 7
- 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
- ALAS2023-2026-3441 Important: python-pillow security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 12, 2026
- ALAS2-2026-4107 Important: python-pillow security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Nov 12, 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
- openSUSE-SU-2026:12251-1 python313-Pillow-13.0.0-2.1 on GA media SUSE / openSUSE Security Updates · Oct 24, 2026