What’s Vulnerable › Vulnerabilities

CVE-2021-25292: Regular Expression Denial of Service (ReDoS) in Pillow

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.

Affected products

How to fix

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

References

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