PT-2021-4624

CVE-2021-28677

·

Published

2021-03-18

·

Updated

2026-03-31

Description by

CVSS 3.1
9.1
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
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.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-Q5HQ-FP76-QMRC
ALSA-2021:4149
ALT-PU-2021-2460
ALT-PU-2023-7942
ALT-PU-2023-8182
BIT-PILLOW-2021-28677
CESA-2021_4149
DLA-2716-1
MGASA-2021-0389
OPENSUSE-SU-2024_1607-1
PYSEC-2021-93
RHSA-2021:4149
RHSA-2021_4149
RLSA-2021:4149
SUSE-SU-2021:1938-1
SUSE-SU-2021:1939-1
SUSE-SU-2021:1940-1
SUSE-SU-2024:1607-1
USN-4963-1
USN-8135-1
Found an issue in the description? Have something to add? Feel free to write us 👾