CVE-2021-28677
Publication date 10 May 2021
Last updated 31 March 2026
Ubuntu priority
Cvss 3 Severity Score
Description
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| pillow | 25.10 questing |
Fixed 8.1.2+dfsg-0.1ubuntu1
|
| 24.04 LTS noble |
Fixed 8.1.2+dfsg-0.1ubuntu1
|
|
| 22.04 LTS jammy |
Fixed 8.1.2+dfsg-0.1ubuntu1
|
|
| 20.04 LTS focal |
Fixed 7.0.0-4ubuntu0.4
|
|
| 18.04 LTS bionic |
Fixed 5.1.0-1ubuntu0.6
|
|
| 16.04 LTS xenial |
Fixed 3.1.2-0ubuntu1.6+esm3
|
|
| 14.04 LTS trusty |
Fixed 2.3.0-1ubuntu3.4+esm5
|
|
| pillow-python2 | 25.10 questing | Not in release |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Ignored end of standard support, was needs-triage | |
| 18.04 LTS bionic | Not in release | |
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty | Not in release | |
| python-imaging | 25.10 questing | Not in release |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Not in release | |
| 18.04 LTS bionic | Not in release | |
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty | Not in release |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity impact | None |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-4963-1
- Pillow vulnerabilities
- 19 May 2021
- USN-8135-1
- Pillow vulnerabilities
- 31 March 2026