PYSEC-2021-40

At a glance

Published
Updated
CVE
CVE-2021-27921
Aliases
BIT-pillow-2021-27921, GHSA-f4w8-cv6p-x6r5

Description

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

PackageVersions
PyPI · pillowintroduced 0, fixed 8.1.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database