UBUNTU-CVE-2021-28677

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-28677

    UBUNTU-CVE-2021-28677

    Published: 10 May 2021Last Modified: 2 Apr 2026

    Summary:

    Details: 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 packages

    Package

    Name: pillow

    Purl: pkg:deb/ubuntu/[email protected]+esm5?arch=source&distro=esm-infra-legacy/trusty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.3.0-1ubuntu3.4+esm5

    Affected versions

    2.2.1-1ubuntu2
    2.2.1-2ubuntu1
    2.2.1-3ubuntu2
    2.2.1-3ubuntu3
    2.2.1-3ubuntu4
    2.2.1-3ubuntu6

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2021-28677 | CVE-DB