PT-2023-9330
CVE-2023-44271
·
Published
2023-06-30
·
Updated
2026-10-12
Description by
CVSS 4.0
8.7
HighMetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Pillow versions prior to 10.0.0
Description
The issue is related to a Denial of Service in Pillow, where the
truetype function in ImageFont uncontrollably allocates memory when processing a long text argument in an ImageDraw instance. This can cause a service to crash due to memory exhaustion. The vulnerability can be exploited by a remote attacker to cause a denial of service.Recommendations
For Pillow versions prior to 10.0.0, update to version 10.0.0 or later to resolve the issue. As a temporary workaround, consider restricting the length of text arguments passed to the
textlength function in ImageDraw instances to prevent excessive memory allocation.Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾