PT-2021-17671 · Pillow+9 · Pillow+9

Published

2021-03-03

·

Updated

2025-08-15

·

CVE-2021-27922

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
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 ICNS container, leading to potentially very large attempted memory allocations.
Recommendations: For 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 ICNS containers to minimize the risk of exploitation.

Fix

DoS

Resource Exhaustion

RCE

Weakness Enumeration

Related Identifiers

ALSA-2021:4149
ALT-PU-2021-1491
ALT-PU-2021-1617
BIT-PILLOW-2021-27922
CESA-2021_4149
CVE-2021-27922
GHSA-3WVG-MJ6G-M9CV
OESA-2021-1127
OESA-2021-1146
OPENSUSE-SU-2021:1134-1
OPENSUSE-SU-2021_1134-1
OPENSUSE-SU-2024_1673-1
PYSEC-2021-41
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