PT-2021-17672 · Pillow+9 · Pillow+9

Published

2021-03-03

·

Updated

2025-08-15

·

CVE-2021-27923

CVSS v4.0

8.7

High

VectorAV: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 8.1.1
Description: The issue allows attackers to cause a denial of service due to memory consumption. This occurs because the reported size of a contained image is not properly checked for an ICO container, leading to potentially very large attempted memory allocations.
Recommendations: For Pillow versions prior to 8.1.1, update to version 8.1.1 or later to resolve the issue. As a temporary workaround, consider restricting the processing of ICO containers to minimize the risk of exploitation.

Fix

DoS

Resource Exhaustion

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2021:4149
ALT-PU-2021-1491
ALT-PU-2021-1617
BIT-PILLOW-2021-27923
CESA-2021_4149
CVE-2021-27923
GHSA-95Q3-8GR9-GM8W
OESA-2021-1127
OESA-2021-1146
OPENSUSE-SU-2021:1134-1
OPENSUSE-SU-2021_1134-1
OPENSUSE-SU-2024_1673-1
PYSEC-2021-42
RHSA-2021:4149
RHSA-2021_4149
RLSA-2021:4149
SUSE-SU-2021:1938-1
SUSE-SU-2021:1939-1
SUSE-SU-2021:1940-1
SUSE-SU-2024:1673-1
SUSE-SU-2024:1673-2
USN-4763-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Pillow
Red Hat
Rocky Linux
Suse
Ubuntu