VDB

CVE-2021-28676

CVE-2021-28676 PUBLISHED CVSS 7.5 HIGH

Potential infinite loop in Pillow

Reported by mitre · Published June 2, 2021

Pillow is fixed in 8.2.0 (PyPI)

An issue was discovered in Pillow before 8.2.0. For FLI data, FliDecode did not properly check that the block advance was non-zero, potentially leading to an infinite loop on load.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
PillowPyPI8.2.0
python-pillowAmazon Linux2.0.0-23.gitd1c6db8.amzn2.0.4
pillowpython8.2.0

Risk scores

CVSS 3.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
n/an/an/a
amazon:2python-pillow0
amazon:2python-pillow-tk0
amazon:2python-pillow-devel0
amazon:2023python3-pillow-tk0
amazon:2python-pillow-doc0
amazon:2023python3-pillow0
amazon:2python-pillow-sane0
alpinepy3-pillow0
amazon:2023python3-pillow-devel0
n/an/a*
PyPIPillow0

Timeline

  • May 10, 2021 CVE Published
  • Jun 3, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 7, 2026 Distribution Patch (5 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (9 in total, the first dated here)
  • Aug 5, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-28676
vulnetix vdb fixes CVE-2021-28676

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-28676/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›