CVE-2021-28675

MEDIUM

Python Pillow < 8.2.0 - Denial of Service

Title source: rule

Description

An issue was discovered in Pillow before 8.2.0. PSDImagePlugin.PsdImageFile lacked a sanity check on the number of input layers relative to the size of the data block. This could lead to a DoS on Image.open prior to Image.load.

Scores

CVSS v3 5.5
EPSS 0.0011
EPSS Percentile 30.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Classification

CWE
CWE-252
Status published

Affected Products (3)

python/pillow < 8.2.0
fedoraproject/fedora
pypi/pillow < 8.2.0PyPI

Timeline

Published Jun 02, 2021
Tracked Since Feb 18, 2026