cbcvebase.
CVE-2021-28677
published 2021-06-02

CVE-2021-28677: An issue was discovered in Pillow before 8.2.0. For EPS data, the readline implementation used in EPSImageFile has to deal with any combination of \r and \n as…

PriorityP339high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
2.29%
81.3th percentile
An issue was discovered in Pillow before 8.2.0. For EPS data, the readline implementation used in EPSImageFile has to deal with any combination of \r and \n as line endings. It used an accidentally quadratic method of accumulating lines while looking for a line ending. A malicious EPS file could use this to perform a DoS of Pillow in the open phase, before an image was accepted for opening.

Affected

12 ranges
VendorProductVersion rangeFixed in
debianpillow< pillow 8.1.2+dfsg-0.2 (bookworm)pillow 8.1.2+dfsg-0.2 (bookworm)
fedoraprojectfedora
paloaltopan-os
pythonpillow< 8.2.08.2.0
pythonpillow>= 0 < 8.1.2+dfsg-0.28.1.2+dfsg-0.2
pythonpillow>= 0 < 8.1.2+dfsg-0.28.1.2+dfsg-0.2
pythonpillow>= 0 < 8.1.2+dfsg-0.28.1.2+dfsg-0.2
pythonpillow>= 0 < 8.1.2+dfsg-0.28.1.2+dfsg-0.2
pythonpillow>= 0 < 8.2.08.2.0
pythonpillow>= 0 < 2.3.0-1ubuntu3.4+esm52.3.0-1ubuntu3.4+esm5
pythonpillow>= 0 < 3.1.2-0ubuntu1.6+esm33.1.2-0ubuntu1.6+esm3
pythonpillow>= 0 < 5.1.0-1ubuntu0.8+esm25.1.0-1ubuntu0.8+esm2

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv9.1CRITICAL
vendor_ubuntu9.1CRITICAL
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.