PT-2021-16504
CVE-2021-25292
·
Published
2021-02-28
·
Updated
2026-10-31
Description by
CVSS 4.0
6.9
MediumMetricsAV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions:
Pillow versions prior to 8.1.1
Description:
The issue allows a regular expression DoS (ReDoS) attack via a crafted PDF file because of a catastrophic backtracking regex in the PDF parser.
Recommendations:
For Pillow versions prior to 8.1.1, update to version 8.1.1 or later to resolve the issue. As a temporary workaround, consider restricting the use of the PDF parser to minimize the risk of exploitation.
Found an issue in the description? Have something to add? Feel free to write us 👾