MEDIUM 5.5 PyPI

Pillow denial of service

GHSA-g6rj-rv7j-xwp4 · BIT-pillow-2021-28675 · CVE-2021-28675 · PYSEC-2021-139

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes