All reports
High

Pillow denial of service

Affected versions

Version ranges need review.

Affected versions
<8.2.0
Fixed version
8.2.0
Affected versions
< 8.2.0
Fixed version
8.2.0
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-28675

Probability of exploitation in the next 30 days: 0.96%

FIRST EPSS · 2026-11-21

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.

Links