ADVISORIES

GitHub Advisory Database

GHSA-95q3-8gr9-gm8w

Pillow Denial of Service by Uncontrolled Resource Consumption

Details

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

Affected packages

EcosystemPackageAffected versions
PyPIpillow
All versions before 8.1.2 (fixed in 8.1.2)

References