Skip to content
OpenAdvisories

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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
RHEL 8 python-pillow +4 5.1.1-21.el8_10 RHSA-2024:4227
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 python3-pillow +3 5.1.1-21.el8_10 ALSA-2024:4227

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 python-pillow 5.1.1-21.el8_10 RLSA-2024:4227
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Alpine v3.19 py3-pillow 10.3.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 python3-pillow +2 9.4.0-2.amzn2023.0.6 ALAS2023-2024-767

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 python3-pillow +3 5.1.1-21.el8_10 ELSA-2024-4227

Wolfi

ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
PyPI pillow < 10.3.0 10.3.0 GHSA-44wm-f244-xhp3

Advisories 30

References