Security readout for executives and security teams
Plain-English summary
Pillow versions before 8.2.0 could be slowed or tied up when opening a specially crafted EPS image. Services that process uploaded or external EPS files could lose worker capacity. The provided sources describe denial of service, not data theft or code execution.
Executive priority
Treat this as a moderate availability risk. It should be fixed promptly on services that process untrusted images, especially customer-facing upload or conversion paths, but the provided evidence does not indicate active exploitation or confidentiality impact.
Technical view
EPSImageFile readline handling used an accidentally quadratic method while processing EPS line endings containing combinations of carriage returns and newlines. A malicious EPS could trigger denial of service during the open phase, before the image was accepted for opening. Upstream fixed this in Pillow 8.2.0.
Likely exposure
Exposure is most likely in Python applications or services using Pillow before 8.2.0 to open untrusted EPS files, including upload pipelines, document conversion, thumbnailing, or batch image processing. The bundle does not provide CPEs or exact downstream package versions.
Exploitation context
The sources support a crafted-file denial-of-service scenario. CISA KEV is false in the bundle, and no cited source states active exploitation. Exploitation would require the vulnerable Pillow code to attempt opening attacker-controlled EPS data.
Researcher notes
The key defect is algorithmic complexity in EPS readline behavior, addressed by Pillow PR 5377 and the 8.2.0 release. The source bundle lacks CVSS, CWE, CPEs, and full downstream version mapping, so validation depends on local dependency and package inventory.
Mitigation direction
- Upgrade Pillow to 8.2.0 or later where application packaging allows.
- Apply patched operating-system packages from relevant vendor advisories.
- Review vendor guidance for affected distro package names and fixed versions.
- Limit processing of untrusted EPS files until patched.
- Prioritize internet-facing upload or conversion services first.
Validation and detection
- Inventory applications and containers for Pillow versions before 8.2.0.
- Identify workflows that open EPS files from users or external sources.
- Confirm distro security updates are installed where Pillow is OS-packaged.
- Verify dependency lockfiles and deployed images contain the patched Pillow version.
- Check image-processing queues for services that can be stalled by slow opens.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CVE-2021-28677 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Unknown
- CVSS
- Not scored
- Known Exploited
- No
- Published
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS and timeline data
No CVSS vectors or timeline events were available in the normalized CVE source material.
Source materials
- CVE List V5 sourceCVE List V5
- https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28677-fix-eps-dos-on-openCVE reference · x_refsource_MISC
- https://github.com/python-pillow/Pillow/pull/5377CVE reference · x_refsource_MISC
- FEDORA-2021-77756994baCVE reference · vendor-advisory, x_refsource_FEDORA
- GLSA-202107-33CVE reference · vendor-advisory, x_refsource_GENTOO
- [debian-lts-announce] 20210722 [SECURITY] [DLA 2716-1] pillow security updateCVE reference · mailing-list, x_refsource_MLIST
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
