Description
Pillow is a Python imaging library. Prior to 12.3.0, Pillow public image coordinate APIs can trigger a native heap out-of-bounds write when given coordinates near the signed 32-bit integer limits in Image.paste(), Image.crop(), or Image.alpha_composite(). This issue is fixed in version 12.3.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| python-pillow | Pillow | < 12.3.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.3.0-1 | — |
| Debian 13 | pillow | No fix yet | — |
| Debian 12 | pillow | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | pillow | 12.1.1-2ubuntu1.4 | USN-8999-1 |
| Ubuntu 24.04 LTS | pillow | 10.2.0-1ubuntu1.4 | USN-8999-1 |
| Ubuntu 22.04 LTS | pillow | 9.0.1-1ubuntu0.6 | USN-8999-1 |
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.30.1 | SUSE-SU-2026:3084-1 |
| SLES 15 SP6 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SLES 15 SP5 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SLES 15 SP4 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SLES 3 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-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.8.1 | SUSE-SU-2026:23228-1, SUSE-SU-2026:23217-1 |
| SLES for SAP 15 SP6 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SLES for SAP 15 SP5 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SLES for SAP 15 SP4 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SLES 16.0 | python-Pillow | 11.3.0-160000.8.1 | SUSE-SU-2026:23228-1, SUSE-SU-2026:23217-1 |
| SLE HPC 15 SP5 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SLE HPC 15 SP4 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | python-Pillow | 11.3.0-160000.8.1 | openSUSE-SU-2026:21544-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | python3-pillow +2 | 9.4.0-2.amzn2023.0.10 | ALAS2023-2026-2013 |
| Amazon Linux 2 | python-pillow +4 | 2.0.0-23.gitd1c6db8.amzn2.0.20 | ALAS2-2026-3839 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | open-webui | 0.10.2-r1 | — |
| Wolfi rolling | superset-6.0 | 6.0.0-r13 | — |
| Wolfi rolling | superset-6.1 | 6.1.0-r6 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pillow | < 12.3.0 | 12.3.0 | GHSA-6r8x-57c9-28j4 |
Advisories 8
- USN-8999-1 pillow vulnerabilities Ubuntu Security Notices (USN) · Nov 5, 2026
- SUSE-SU-2026:23228-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Aug 27, 2026
- SUSE-SU-2026:23217-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Aug 27, 2026
- openSUSE-SU-2026:21544-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Aug 12, 2026
- ALAS2-2026-3839 Important: python-pillow security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 4, 2026
- ALAS2023-2026-2013 Important: python-pillow security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 4, 2026
- SUSE-SU-2026:3268-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Jul 28, 2026
- SUSE-SU-2026:3084-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Jul 17, 2026