Description
Pillow is a Python imaging library. From version 10.3.0 to before version 12.2.0, processing a malicious PSD file could lead to memory corruption, potentially resulting in a crash or arbitrary code execution. This issue has been patched in version 12.2.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| python-pillow | Pillow | >= 10.3.0, < 12.2.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 | 12.2.0-1 | — |
| Debian 13 | pillow | 11.1.0-5+deb13u3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | pillow | 12.1.1-2ubuntu1.2 | USN-8399-1 |
| Ubuntu 25.10 | pillow | 11.3.0-1ubuntu1.3 | USN-8399-1 |
| Ubuntu 24.04 LTS | pillow | 10.2.0-1ubuntu1.2 | USN-8399-1 |
| Ubuntu 22.04 LTS | pillow | 9.0.1-1ubuntu0.4 | USN-8399-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | pillow-python2 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | python-Pillow | 11.3.0-160000.6.1 | SUSE-SU-2026:22626-1 |
| SLES 16.0 | python-Pillow | 11.3.0-160000.6.1 | SUSE-SU-2026:22626-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-Pillow | 12.3.0-1.1 | openSUSE-SU-2026:11261-1 |
| openSUSE Leap 16.0 | python-Pillow | 11.3.0-160000.6.1 | openSUSE-SU-2026:21296-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | python3-pillow +2 | 9.4.0-2.amzn2023.0.8 | ALAS2023-2026-1712 |
| Amazon Linux 2 | python-pillow +4 | 2.0.0-23.gitd1c6db8.amzn2.0.18 | ALAS2-2026-3312 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | kubeflow-pipelines-visualization-server | 2.16.1-r0 | — |
| Wolfi rolling | open-webui | 0.11.0-r0 | — |
| Wolfi rolling | superset-6.0 | 6.0.0-r10 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pillow | >= 10.3.0, < 12.2.0 | 12.2.0 | GHSA-pwv6-vv43-88gr |
Advisories 7
- WID-SEC-2026-2455 Oracle Solaris Drittanbieterkomponenten: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- SUSE-SU-2026:22626-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Jul 17, 2026
- openSUSE-SU-2026:21296-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Jul 13, 2026
- openSUSE-SU-2026:11261-1 python313-Pillow-12.3.0-1.1 on GA media SUSE / openSUSE Security Updates · Jul 13, 2026
- USN-8399-1 pillow vulnerabilities Ubuntu Security Notices (USN) · Jun 8, 2026
- ALAS2-2026-3312 Important: python-pillow security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 26, 2026
- ALAS2023-2026-1712 Important: python-pillow security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · May 26, 2026