CVE-2021-27921

HIGH

Pillow < 8.1.2 - Denial of Service via BLP Image Size Mismatch

Title source: llm
STIX 2.1

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 a BLP container, and thus an attempted memory allocation can be very large.

Scores

CVSS v3 7.5
EPSS 0.0043
EPSS Percentile 62.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-20
Status published
Products (5)
fedoraproject/fedora 32
fedoraproject/fedora 33
fedoraproject/fedora 34
pypi/Pillow 0 - 8.1.2PyPI
python/pillow < 8.1.1
Published Mar 03, 2021
Tracked Since Feb 18, 2026