cve.bz

CVE-2023-44271

7.5 highEPSS 1.4%Fix available

High (7.5). EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in pillow 10.0.0.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-44271 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-44271?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-44271?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-44271 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:pillowbefore 10.0.0
fedoraproject:fedora38

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8ghj-p4vj-mr35PyPIpillow<10.0.010.0.0
PYSEC-2023-227PyPIpillow<10.0.010.0.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10pillow5.4.1-2+deb10u5DLA-3768-1
Debian11pillow8.1.2+dfsg-0.3+deb11u2DSA-5704-1
Debian12pillow9.4.0-1.1+deb12u1DEBIAN-CVE-2023-44271 DSA-5704-1
Debian13, 14pillow10.0.0-1DEBIAN-CVE-2023-44271
Ubuntu20.04:LTSpillow7.0.0-4ubuntu0.8UBUNTU-CVE-2023-44271 USN-6618-1
Ubuntu22.04:LTSpillow9.0.1-1ubuntu0.2UBUNTU-CVE-2023-44271 USN-6618-1
UbuntuPro:14.04:LTSpillow2.3.0-1ubuntu3.4+esm5UBUNTU-CVE-2023-44271
UbuntuPro:16.04:LTSpillow3.1.2-0ubuntu1.6+esm3UBUNTU-CVE-2023-44271
UbuntuPro:18.04:LTSpillow5.1.0-1ubuntu0.8+esm2UBUNTU-CVE-2023-44271
UbuntuPro:20.04:LTSpillow-python2no fix listedUBUNTU-CVE-2023-44271
Red Hatansible_automation_platform:2.4::el8ansible-automation-platform-installer0:2.4-6.el8apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el8ansible-rulebook, automation-eda-controller, automation-eda-controller-ui and 1 more0:1.0.5-1.el8apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el8python39-aiohttp, python3x-aiohttp, python39-aiohttp-debuginfo and 1 more0:3.9.1-1.el8apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el8python39-django, python3x-django0:4.2.10-1.el8apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el8python39-pillow, python3x-pillow, python39-pillow-debuginfo and 1 more0:10.0.1-1.el8apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el8python39-pycryptodomex, python3x-pycryptodomex, python39-pycryptodomex-debuginfo and 1 more0:3.20.0-1.el8apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8python39-jinja2, python3x-jinja20:3.1.3-1.el8apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8python39-pygments, python3x-pygments0:2.17.2-1.el8apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el9ansible-automation-platform-installer0:2.4-6.el9apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el9ansible-rulebook, automation-eda-controller, automation-eda-controller-ui and 1 more0:1.0.5-1.el9apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el9python-aiohttp, python3-aiohttp, python3-aiohttp-debuginfo and 1 more0:3.9.1-1.el9apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el9python-django, python3-django0:4.2.10-1.el9apRHSA-2024:1057
7 more for Red Hat in the JSON and on Red Hat's page.
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8python-Pillow4.2.1-3.23.2SUSE-SU-2023:4631-1
SUSELinux Enterprise Module for Python 3 15 SP4, Linux Enterprise Module for Python 3 15 SP5python-Pillow9.5.0-150400.5.6.1SUSE-SU-2023:4528-1
SUSEOpenStack Cloud 9, OpenStack Cloud Crowbar 9python-Pillow5.2.0-3.20.1SUSE-SU-2023:4630-1
openSUSELeap 15.4, Leap 15.5python-Pillow7.2.0-150300.3.3.1SUSE-SU-2023:4465-1
openSUSELeap 15.4, Leap 15.5python-Pillow9.5.0-150400.5.6.1SUSE-SU-2023:4528-1
openSUSETumbleweedpython-Pillow10.0.1-2.1openSUSE-SU-2024:13439-1
openSUSETumbleweedpython-Pillow12.3.0-1.1openSUSE-SU-2026:11261-1
AlmaLinux8python3-pillow, python3-pillow-tk, python3-pillow-doc and 1 more5.1.1-20.el8ALSA-2024:3005
Rocky Linux8python-pillow0:5.1.1-20.el8RLSA-2024:3005

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This security vulnerability is categorized as having a moderate impact because it only results in increased memory consumption when exceptionally long strings are utilized as text input.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.4 for RHEL 8python3x-pillow-0:10.0.1-1.el8apFixed 2024-02-29RHSA-2024:1057
Red Hat Ansible Automation Platform 2.4 for RHEL 9python-pillow-0:10.0.1-1.el9apFixed 2024-02-29RHSA-2024:1057
Red Hat Enterprise Linux 7python-pillow-0:2.0.0-24.gitd1c6db8.el7_9Fixed 2024-01-23RHSA-2024:0345
Red Hat Enterprise Linux 8python-pillow-0:5.1.1-20.el8Fixed 2024-05-22RHSA-2024:3005

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-44271.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON