CVE-2021-25292: Python Pillow

Medium severity, CVSS 6.5. EPSS: 1.6% chance of exploitation in the next 30 days.

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

  • Python Pillow: before 8.1.1 (fixed in 8.1.1)

Published 2021-03-19. Last modified 2026-06-17.