All reports
High

Uncontrolled Resource Consumption in Pillow

Affected versions

Version ranges need review.

Affected versions
>= 0, < 6.2.2
Fixed version
6.2.2
Affected versions
<6.2.2
Fixed version
6.2.2
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2019-19911

Probability of exploitation in the next 30 days: 2.24%

FIRST EPSS · 2026-11-22

Description

There is a DoS vulnerability in Pillow before 6.2.2 caused by FpxImagePlugin.py calling the range function on an unvalidated 32-bit integer if the number of bands is large. On Windows running 32-bit Python, this results in an OverflowError or MemoryError due to the 2 GB limit. However, on Linux running 64-bit Python this results in the process being terminated by the OOM killer.

Links