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.
Fix available through Seal Security. No upgrade required, protect your application instantly.
Fix without upgrading