Resource exhaustion in Python Pillow
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.011 (65.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 65th percentile — 65.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000
Affected products
- Python Pillow
- Fedoraproject Fedora — versions 38
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/python-pillow/Pillow/pull/7244 (Patch)
- github.com/python-pillow/Pillow/commit/1fe1bb49c452b0318cad12ea9d97c3bef188e9a7 (Patch)
- devhub.checkmarx.com/cve-details/CVE-2023-44271/ (Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2024/03/msg00021.html (mailing-list)
Frequently asked questions
- What is CVE-2023-44271?
- CVE-2023-44271 is a high-severity vulnerability in Python Pillow, classified under Allocation of Resources Without Limits or Throttling. CVSS score: 7.5/10. Published 2023-11-03.
- How severe is CVE-2023-44271?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2023-44271 known to be exploited?
- 7 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.