CVE-2021-27922

HIGH7.5EPSS 0.32%

Pillow Uncontrolled Resource Consumption

Published: 3/18/2021Modified: 8/15/2025
Also known as:GHSA-3wvg-mj6g-m9cvALPINE-CVE-2021-27922BIT-pillow-2021-27922DEBIAN-CVE-2021-27922PYSEC-2021-41

Description

Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICNS container, and thus an attempted memory allocation can be very large.

Affected packages (5)

CVSS scores

SourceVersionSeverityVector
osvCVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
osvCVSS 3.1HIGH7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References (22)