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.014, 72.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python Pillow
- Fedoraproject Fedora — versions 38
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 7 other repositories (fkie-cad/nvd-json-data-feeds, Hiddenleaf07/pknew, NaInSec/CVE-LIST, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
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)
- FEDORA-2023-1a120657f9 (vendor-advisory, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20240322 [SECURITY] [DLA 3768-1] pillow security update (mailing-list)