ADVISORIES

PyPA Advisory Database

PYSEC-2021-94

Details

An issue was discovered in Pillow before 8.2.0. For BLP data, BlpImagePlugin did not properly check that reads (after jumping to file offsets) returned data. This could lead to a DoS where the decoder could be run a large number of times on empty data.

Affected packages

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

References