CVE-2021-28677: Fedoraproject Fedora
High severity, CVSS 7.5. EPSS: 2.3% chance of exploitation in the next 30 days.
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 products
- Fedoraproject Fedora: version 33 only
- Python Pillow: before 8.2.0 (fixed in 8.2.0)
Published 2021-06-02. Last modified 2026-06-17.