CVE-2021-25292

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductPython Pillow
PublishedMar 19, 2021
First seenMar 19, 2021

How to fix

Update
  • python pillow8.1.1 or later
  • pillow8.1.1 or later

Affected products

ProductAffected versionsFixed in
python pillowv < 8.1.18.1.1
pillowPyPI5.1.0 ≤ v < 8.1.1, v < 8.1.18.1.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.