All reports
High

Pillow Denial of Service by Uncontrolled Resource Consumption

Affected versions

Version ranges need review.

Affected versions
< 8.1.2
Fixed version
8.1.2
Affected versions
<8.1.1
Fixed version
8.1.1
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-27921

Probability of exploitation in the next 30 days: 3.17%

FIRST EPSS · 2026-11-22

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.

Links

Credits

  • sunSUNQ