PYSEC-2021-139

At a glance

Published
Updated
CVE
CVE-2021-28675
Aliases
BIT-pillow-2021-28675, GHSA-g6rj-rv7j-xwp4

Description

An issue was discovered in Pillow before 8.2.0. PSDImagePlugin.PsdImageFile lacked a sanity check on the number of input layers relative to the size of the data block. This could lead to a DoS on Image.open prior to Image.load.

Affected packages

PackageVersions
PyPI · pillowintroduced 0, fixed 8.2.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database