MEDIUM 5.5 PyPI

Insufficient Verification of Data Authenticity in Pillow

GHSA-hjfx-8p6c-g7gx · BIT-pillow-2021-28678 · CVE-2021-28678 · PYSEC-2021-94

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. 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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes