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.
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.
Link | Tags |
---|---|
https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html | release notes vendor advisory |
https://security.gentoo.org/glsa/202107-33 | third party advisory vendor advisory |