CVE-2023-44271: Pillow Denial of Service vulnerability
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.34157%
CWE
Published
11/3/2023
Updated
10/14/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| pillow | pip | >= 0, < 10.0.0 | 10.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from text processing functions in ImageFont.py that lacked input validation. The GitHub commit adds _string_length_check() to these specific methods, and test cases verify they previously accepted 1M+ character inputs. The CWE-400/CWE-770 mapping confirms this is a resource consumption issue. The patch directly modifies these functions to add length validation, making them clearly identified as the vulnerable points.