PT-2021-4624 · Pillow+9 · Pillow+9
Published
2021-03-18
·
Updated
2026-03-31
·
CVE-2021-28677
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/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.2.0
Description
The issue is related to the readline implementation in the EPSImageFile component of the Pillow library. It uses a quadratic method to accumulate lines while searching for a line ending, which can be exploited by a malicious EPS file to perform a denial of service (DoS) attack. This can happen before an image is accepted for opening. A remote attacker could use this vulnerability to cause a DoS.
Recommendations
For Pillow versions prior to 8.2.0, update to version 8.2.0 or later to resolve the issue. As a temporary workaround, consider restricting the use of EPS files until the update is applied.
Fix
RCE
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Pillow
Red Hat
Rocky Linux
Suse
Ubuntu