What’s Vulnerable › Vulnerabilities

CVE-2023-44271: Pillow Denial of Service vulnerability

Description

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.

Affected products

How to fix

Upgrade to a fixed version: python-pillow Pillow 10.0.0; Pypi Pillow 10.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-44271 or the next vulnerability affects your stack