PYSEC-2021-94

At a glance

Published
Updated
CVE
CVE-2021-28678
Aliases
BIT-pillow-2021-28678, GHSA-hjfx-8p6c-g7gx

Description

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

PackageVersions
PyPI · pillowintroduced 0, fixed 8.2.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database