VDB

ALPINE-CVE-2021-28677

ALPINE-CVE-2021-28677 PUBLISHED CVSS 7.5 HIGH

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.

Risk Scores

CVSS v3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected Products

VendorProductVersions
Alpine:v3.14py3-pillow8.1.2-r1, 0, 7.1.1-r0
Alpine:v3.15py3-pillow7.1.1-r0, 7.1.2-r0, 7.2.0-r0

Timeline

  • Jun 2, 2021 CVE Published
  • Nov 19, 2025 CVE Updated
  • Apr 30, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›