ADVISORIES

PyPA Advisory Database

PYSEC-2021-40

Details

Pillow before 8.1.1 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.

Affected packages

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

References