What’s Vulnerable › Vulnerabilities

CVE-2021-28675: Pillow denial of service

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 products

How to fix

Upgrade to a fixed version: python-pillow Pillow 8.2.0; Pypi Pillow 8.2.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-28675 or the next vulnerability affects your stack