Skip to content

Pillow Denial of Service vulnerability

High severity GitHub Reviewed Published Nov 3, 2023 to the GitHub Advisory Database • Updated Mar 22, 2024

Package

pip pillow (pip)

Affected versions

>= 0, < 10.0.0

Patched versions

10.0.0

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.

References

Published by the National Vulnerability Database Nov 3, 2023
Published to the GitHub Advisory Database Nov 3, 2023
Reviewed Nov 3, 2023
Last updated Mar 22, 2024

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVE ID

CVE-2023-44271

GHSA ID

GHSA-8ghj-p4vj-mr35

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.