Description
In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.
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 | 10.3.0-1 | — |
| Debian 13 | pillow | 10.3.0-1 | — |
| Debian 12 | pillow | 9.4.0-1.1+deb12u1 | DSA-5704-1 |
| Debian 11 | pillow | 8.1.2+dfsg-0.3+deb11u2 | DSA-5704-1 |
| Debian 10 | pillow | 5.4.1-2+deb10u6 | DLA-3786-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | pillow | 10.2.0-1ubuntu1 | USN-6744-3 |
| Ubuntu 22.04 LTS | pillow | 9.0.1-1ubuntu0.3 | USN-6744-1 |
| Ubuntu 20.04 LTS | pillow | 7.0.0-4ubuntu0.9 | USN-6744-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | pillow-python2 | 6.2.1-3ubuntu0.1~esm2 | USN-6744-2 |
| Ubuntu Pro 18.04 LTS | pillow | 5.1.0-1ubuntu0.8+esm1 | USN-6744-1 |
| Ubuntu Pro 16.04 LTS | pillow | 3.1.2-0ubuntu1.6+esm2 | USN-6744-1 |
| Ubuntu Pro 14.04 LTS | pillow | 2.3.0-1ubuntu3.4+esm4 | USN-6744-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | python-pillow +4 | 5.1.1-21.el8_10 | RHSA-2024:4227 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Satellite Capsule 6 | python-aiohttp +1 | 3.9.4-1.el8pc | RHSA-2024:5662 |
| Red Hat Satellite Capsule 6 | python-django +1 | 4.2.14-1.el8pc | RHSA-2024:5662 |
| Red Hat Satellite Capsule 6 | python-jinja2 +1 | 3.1.4-1.el8pc | RHSA-2024:5662 |
| Red Hat Satellite Capsule 6 | python-pillow +1 | 10.3.0-1.el8pc | RHSA-2024:5662 |
| Red Hat Satellite 6 | python-aiohttp +1 | 3.9.4-1.el8pc | RHSA-2024:5662 |
| Red Hat Satellite 6 | python-django +1 | 4.2.14-1.el8pc | RHSA-2024:5662 |
| Red Hat Satellite 6 | python-jinja2 +1 | 3.1.4-1.el8pc | RHSA-2024:5662 |
| Red Hat Satellite 6 | python-pillow +1 | 10.3.0-1.el8pc | RHSA-2024:5662 |
| Red Hat Ansible Automation Platform Inside 2 | python-black +1 | 22.8.0-2.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Inside 2 | python-cryptography +1 | 42.0.5-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Inside 2 | python-jinja2 +1 | 3.1.4-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Inside 2 | python39-black +1 | 22.8.0-2.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Inside 2 | python39-cryptography +1 | 42.0.5-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Inside 2 | python39-jinja2 +1 | 3.1.4-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Inside 2 | receptor +1 | 1.4.8-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python-black +1 | 22.8.0-2.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python-cryptography +1 | 42.0.5-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python-idna +1 | 3.7-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python-jinja2 +1 | 3.1.4-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python-requests +1 | 2.32.2-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python39-black +1 | 22.8.0-2.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python39-cryptography +1 | 42.0.5-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python39-idna +1 | 3.7-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python39-jinja2 +1 | 3.1.4-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python39-requests +1 | 2.32.2-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | receptor +1 | 1.4.8-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | automation-controller-venv-tower | 4.5.7-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | automation-hub +2 | 4.9.2-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-aiohttp +1 | 3.9.5-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-black +1 | 22.8.0-2.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-cryptography +1 | 42.0.5-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-galaxy-ng +1 | 4.9.2-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-gunicorn +1 | 22.0.0-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-idna +1 | 3.7-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-jinja2 +1 | 3.1.4-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-pillow +1 | 10.3.0-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-pydantic +1 | 1.10.15-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-requests +1 | 2.32.2-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-social-auth-app-django +1 | 5.4.1-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-sqlparse +1 | 0.5.0-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-aiohttp +1 | 3.9.5-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-black +1 | 22.8.0-2.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-cryptography +1 | 42.0.5-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-gunicorn +1 | 22.0.0-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-idna +1 | 3.7-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-jinja2 +1 | 3.1.4-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-pillow +1 | 10.3.0-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-pydantic +1 | 1.10.15-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-requests +1 | 2.32.2-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-social-auth-app-django +1 | 5.4.1-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-sqlparse +1 | 0.5.0-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | receptor +1 | 1.4.8-1.el8ap | RHSA-2024:3781 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | python3-pillow +3 | 5.1.1-21.el8_10 | ALSA-2024:4227 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | python-pillow | 5.1.1-21.el8_10 | RLSA-2024:4227 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | python-Pillow | 9.5.0-150400.5.15.1 | SUSE-SU-2024:1258-1 |
| SLES 3 | python-Pillow | 9.5.0-150400.5.15.1 | SUSE-SU-2024:1258-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP4 | python-Pillow | 9.5.0-150400.5.15.1 | SUSE-SU-2024:1258-1 |
| SLE HPC 15 SP4 | python-Pillow | 9.5.0-150400.5.15.1 | SUSE-SU-2024:1258-1 |
| SUSE OpenStack Cloud Crowbar 9 | python-Pillow | 5.2.0-3.26.2 | SUSE-SU-2024:1267-1 |
| SUSE OpenStack Cloud Crowbar 8 | python-Pillow | 4.2.1-3.29.2 | SUSE-SU-2024:1268-1 |
| SUSE OpenStack Cloud 9 | python-Pillow | 5.2.0-3.26.2 | SUSE-SU-2024:1267-1 |
| SUSE OpenStack Cloud 9 | venv-openstack-horizon | 14.1.1~dev11-4.55.2 | SUSE-SU-2024:1267-1 |
| SUSE OpenStack Cloud 8 | python-Pillow | 4.2.1-3.29.2 | SUSE-SU-2024:1268-1 |
| SUSE OpenStack Cloud 8 | venv-openstack-horizon | 12.0.5~dev6-14.58.2 | SUSE-SU-2024:1268-1 |
| SUSE HPE Helion OpenStack 8 | python-Pillow | 4.2.1-3.29.2 | SUSE-SU-2024:1268-1 |
| SUSE HPE Helion OpenStack 8 | venv-openstack-horizon-hpe | 12.0.5~dev6-14.58.2 | SUSE-SU-2024:1268-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-Pillow | 10.3.0-1.1 | openSUSE-SU-2026:11261-1, openSUSE-SU-2024:13827-1 |
| openSUSE Leap 15.5 | python-Pillow | 7.2.0-150300.3.9.1 | SUSE-SU-2024:1258-1, SUSE-SU-2024:1154-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | py3-pillow | 10.3.0-r0 | — |
| Alpine v3.23 | py3-pillow | 10.3.0-r0 | — |
| Alpine v3.22 | py3-pillow | 10.3.0-r0 | — |
| Alpine v3.21 | py3-pillow | 10.3.0-r0 | — |
| Alpine v3.20 | py3-pillow | 10.3.0-r0 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | py3-pillow | 10.3.0-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | python3-pillow +2 | 9.4.0-2.amzn2023.0.6 | ALAS2023-2024-767 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | python3-pillow +3 | 5.1.1-21.el8_10 | ELSA-2024-4227 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | kubeflow-pipelines-visualization-server | 2.2.0-r0 | — |
| Wolfi rolling | py3-pillow | 10.3.0-r0 | — |
| Wolfi rolling | py3-seaborn +5 | 0.13.2-r3 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pillow | < 10.3.0 | 10.3.0 | GHSA-44wm-f244-xhp3 |
Advisories 30
- ALSA-2024:4227 Moderate: python-pillow security update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2024-1328 Red Hat Ansible Automation Platform: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
- RHSA-2024:3781 Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2024:5662 Red Hat Security Advisory: Satellite 6.15.3 Security Update Red Hat Security Advisories (RHSA) · Aug 26, 2026
- WID-SEC-2025-0823 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- WID-SEC-2025-0148 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- openSUSE-SU-2026:11261-1 python313-Pillow-12.3.0-1.1 on GA media SUSE / openSUSE Security Updates · Jul 13, 2026
- RHSA-2024:4227 Red Hat Security Advisory: python-pillow security update Red Hat Security Advisories (RHSA) · Jul 3, 2026
- USN-6744-1 pillow vulnerability Ubuntu Security Notices (USN) · Jun 29, 2026
- DSA-5704-1 pillow - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3786-1 pillow - security update Debian Security (DSA / DLA) · Mar 9, 2026
- ICSA-25-203-04 Schneider Electric EcoStruxure Power Operation (Update A) CISA ICS & IT advisories · Feb 25, 2026
- SEVD-2025-189-03 EcoStruxure™ Power Operation Schneider Electric CPCERT · Feb 10, 2026
- USN-6744-2 pillow vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-6744-3 pillow vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- RLSA-2024:4227 Moderate: python-pillow security update Rocky Linux Security Advisories · Feb 5, 2026
- openSUSE-SU-2024:13827-1 python310-Pillow-10.3.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1267-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1258-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1154-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1268-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-3377 Dell PowerProtect Data Domain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 12, 2025
- NCSC-2025-0127 Kwetsbaarheden verholpen in Oracle Financial Services NCSC-NL (Netherlands) · Apr 16, 2025
- NCSC-2025-0124 Kwetsbaarheden verholpen in Oracle Communications NCSC-NL (Netherlands) · Apr 16, 2025
- WID-SEC-2025-0819 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 15, 2025
- NCSC-2025-0025 Kwetsbaarheden verholpen in Oracle Financial Services NCSC-NL (Netherlands) · Jan 22, 2025
- NCSC-2025-0021 Kwetsbaarheden verholpen in Oracle Communications NCSC-NL (Netherlands) · Jan 22, 2025
- WID-SEC-2025-0144 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 21, 2025
- ALAS2023-2024-767 Moderate: python-pillow security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 14, 2024
- ELSA-2024-4227 Moderate: python-pillow security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 2, 2024