PT-2021-16504 · Pillow+9 · Pillow+9

Published

2021-02-28

·

Updated

2024-06-15

·

CVE-2021-25292

CVSS v4.0

6.9

Medium

VectorAV: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.

Fix

DoS

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2021:4149
ALT-PU-2021-1491
BIT-PILLOW-2021-25292
CESA-2021_4149
CVE-2021-25292
GHSA-9HX2-HGQ2-2G4F
OPENSUSE-SU-2021:1134-1
OPENSUSE-SU-2021_1134-1
OPENSUSE-SU-2024:11209-1
OPENSUSE-SU-2024:13827-1
OPENSUSE-SU-2024_1673-1
PYSEC-2021-38
RHSA-2021:4149
RHSA-2021_4149
RLSA-2021:4149
SUSE-SU-2021:1938-1
SUSE-SU-2021:1939-1
SUSE-SU-2024:1673-1
SUSE-SU-2024:1673-2
USN-4763-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Pillow
Red Hat
Rocky Linux
Suse
Ubuntu