Skip to content
OpenAdvisories
High · 7.5 CVE-2023-44271 BIT-pillow-2023-44271EUVD-2023-0199GHSA-8ghj-p4vj-mr35PYSEC-2023-227

Pillow Denial of Service vulnerability

Published Nov 3, 2023 · Updated Aug 2, 2024 · Assigned by mitre

Description

An issue was discovered in Pillow before 10.0.0. It is a Denial of Service that uncontrollably allocates memory to process a given task, potentially causing a service to crash by having it run out of memory. This occurs for truetype in ImageFont when textlength in an ImageDraw instance operates on a long text argument.

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.0.0-1 —
Debian 13 pillow 10.0.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+deb10u5 DLA-3768-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS pillow 9.0.1-1ubuntu0.2 USN-6618-1
Ubuntu 20.04 LTS pillow 7.0.0-4ubuntu0.8 USN-6618-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS pillow-python2 No fix yet —
Ubuntu Pro 18.04 LTS pillow 5.1.0-1ubuntu0.8+esm2 —
Ubuntu Pro 16.04 LTS pillow 3.1.2-0ubuntu1.6+esm3 —
Ubuntu Pro 14.04 LTS pillow 2.3.0-1ubuntu3.4+esm5 —
ReleasePackageFixed inAdvisory
RHEL 8 python-pillow +4 5.1.1-20.el8 RHSA-2024:3005
RHEL 7 python-pillow +5 2.0.0-24.gitd1c6db8.el7_9 RHSA-2024:0345
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Ansible Automation Platform Inside 2 python-jinja2 +1 3.1.3-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform Inside 2 python-pygments +1 2.17.2-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform Inside 2 python39-jinja2 +1 3.1.3-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform Inside 2 python39-pygments +1 2.17.2-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform Developer 2 python-jinja2 +1 3.1.3-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform Developer 2 python-pygments +1 2.17.2-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform Developer 2 python39-jinja2 +1 3.1.3-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform Developer 2 python39-pygments +1 2.17.2-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 ansible-automation-platform-installer 2.4-6.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 ansible-rulebook +3 1.0.5-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python-aiohttp +1 3.9.1-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python-django +1 4.2.10-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python-jinja2 +1 3.1.3-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python-pillow +1 10.0.1-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python-pycryptodomex +1 3.20.0-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python-pygments +1 2.17.2-1.el9ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python39-aiohttp +1 3.9.1-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python39-django +1 4.2.10-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python39-jinja2 +1 3.1.3-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python39-pillow +1 10.0.1-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python39-pycryptodomex +1 3.20.0-1.el8ap RHSA-2024:1057
Red Hat Ansible Automation Platform 2 python39-pygments +1 2.17.2-1.el8ap RHSA-2024:1057

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 python3-pillow +3 5.1.1-20.el8 ALSA-2024:3005

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 python-pillow 5.1.1-20.el8 RLSA-2024:3005
ReleasePackageFixed inAdvisory
SLES 3 python-Pillow 9.5.0-150400.5.6.1 SUSE-SU-2023:4528-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud Crowbar 9 python-Pillow 5.2.0-3.20.1 SUSE-SU-2023:4630-1
SUSE OpenStack Cloud Crowbar 8 python-Pillow 4.2.1-3.23.2 SUSE-SU-2023:4631-1
SUSE OpenStack Cloud 9 python-Pillow 5.2.0-3.20.1 SUSE-SU-2023:4630-1
SUSE OpenStack Cloud 8 python-Pillow 4.2.1-3.23.2 SUSE-SU-2023:4631-1
SUSE HPE Helion OpenStack 8 python-Pillow 4.2.1-3.23.2 SUSE-SU-2023:4631-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Pillow 10.0.1-2.1 openSUSE-SU-2026:11261-1, openSUSE-SU-2024:13439-1
openSUSE Leap 15.5 python-Pillow 7.2.0-150300.3.3.1 SUSE-SU-2023:4528-1, SUSE-SU-2023:4465-1
openSUSE Leap 15.4 python-Pillow 7.2.0-150300.3.3.1 SUSE-SU-2023:4528-1, SUSE-SU-2023:4465-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 python3-pillow +2 9.4.0-2.amzn2023.0.3 ALAS2023-2023-453
Amazon Linux 2 python-pillow +4 2.0.0-23.gitd1c6db8.amzn2.0.12 ALAS2-2024-2508

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 python3-pillow +3 5.1.1-20.el8 ELSA-2024-3005
Oracle Linux 7 python-pillow +5 2.0.0-24.gitd1c6db8.el7_9 ELSA-2024-0345

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pillow < 10.0.0 10.0.0 GHSA-8ghj-p4vj-mr35

Advisories 22

References