MEDIUM 6.5 PyPI

Regular Expression Denial of Service (ReDoS) in Pillow

GHSA-9hx2-hgq2-2g4f · BIT-pillow-2021-25292 · CVE-2021-25292 · PYSEC-2021-38

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.1.1. The PDF parser allows a regular expression DoS (ReDoS) attack via a crafted PDF file because of a catastrophic backtracking regex.

Ready to move

Start Securing

Free, no credit card | First findings in minutes