Home / Python / Pillow / CVE-2023-44271
CVE-2023-44271: is it exploited, and which versions of Python Pillow are affected and fixed?
CVE-2023-44271 is a denial of service (resources allocated without limits) vulnerability in Python Pillow. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: pillow before 10.0.0 (GitHub advisory GHSA-8ghj-p4vj-mr35). Fixed in 10.0.0 (GitHub advisory GHSA-8ghj-p4vj-mr35). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:34 UTC.
What is CVE-2023-44271?
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.
From the CVE record by mitre, last updated August 2, 2024, 19:59 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | pillow | < 10.0.0 | 10.0.0 | GHSA-8ghj-p4vj-mr35 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 14, 2024. Summary: Pillow Denial of Service vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| python | pillow | before 10.0.0 | application |
| fedoraproject | fedora | 38 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 06:27 UTC.
How severe is CVE-2023-44271?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-44271 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.36% probability of exploitation activity in the next 30 days, percentile 72.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-770 Allocation of Resources Without Limits or Throttling
- CWE-400 Uncontrolled Resource Consumption
Where are the vendor advisories and references?
- https://github.com/python-pillow/Pillow/pull/7244
- https://github.com/python-pillow/Pillow/commit/1fe1bb49c452b0318cad12ea9d97c3bef188e9a7
- https://devhub.checkmarx.com/cve-details/CVE-2023-44271/
- FEDORA-2023-1a120657f9 vendor-advisory
- [debian-lts-announce] 20240322 [SECURITY] [DLA 3768-1] pillow security update mailing-list
When was it published, and where is the official record?
- Reserved
- September 28, 2023
- Published
- November 3, 2023, 00:00 UTC
- CVE record updated
- August 2, 2024, 19:59 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 06:27 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:34 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Pillow?
- Apr 3, 2024CVE-2024-28219 Python Pillow: integer overflow to buffer overflow
- Jan 19, 2024CVE-2023-50447 Python Pillow: code injection (remote code execution)
- Nov 14, 2022CVE-2022-45199 Python Pillow: denial of service (uncontrolled resource consumption)
- Nov 14, 2022CVE-2022-45198 Python Pillow: improper Handling of Highly Compressed Data (Data Amplification)
- May 25, 2022CVE-2022-30595 Python Pillow: out-of-bounds write (memory corruption)
- Mar 28, 2022CVE-2022-24303 Python Pillow: path traversal (reading or writing files outside the intended folder)
- Jan 7, 2022CVE-2022-22817 Python Pillow: injection
- Jan 7, 2022CVE-2022-22816 Python Pillow: out-of-bounds read
Questions about CVE-2023-44271
Is CVE-2023-44271 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 1.36% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Python Pillow are affected by CVE-2023-44271?
pillow before 10.0.0, per the GitHub advisory GHSA-8ghj-p4vj-mr35. The tables above give every range the sources list.
Which version fixes CVE-2023-44271?
10.0.0, per the GitHub advisory GHSA-8ghj-p4vj-mr35. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-44271?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2023-44271?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.