# CVE-2021-28676

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-06-02 · Modified: 2024-08-03
- Aliases: ALPINE-CVE-2021-28676, GHSA-7r7m-5h27-29hp, BIT-pillow-2021-28676, PYSEC-2021-92, UBUNTU-CVE-2021-28676, DEBIAN-CVE-2021-28676
- Record: https://cvemate.com/vulnerability/CVE-2021-28676 · JSON: https://cvemate.com/vulnerability/CVE-2021-28676/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 2.501%, percentile 85.233%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine py3-pillow (Alpine Linux): \< 8.2.0-r0
- debian pillow (Debian): \< 8.1.2+dfsg-0.2
- ubuntu pillow (Ubuntu): \< 2.3.0-1ubuntu3.4+esm5 \| \< 3.1.2-0ubuntu1.6+esm3 \| \< 5.1.0-1ubuntu0.6 \| \< 7.0.0-4ubuntu0.4
- ubuntu pillow-python2 (Ubuntu): All versions (No fix recorded)
- fedoraproject fedora: 33
- PyPI pillow (PyPI): \< 8.2.0
- python pillow: \< 8.2.0

## References

- <https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28676-fix-fli-dos>
- <https://github.com/python-pillow/Pillow/pull/5377>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/>
- <https://security.gentoo.org/glsa/202107-33>
- <https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html>
- <https://github.com/python-pillow/Pillow/commit/bb6c11fb889e6c11b0ee122b828132ee763b5856>
- <https://security.alpinelinux.org/vuln/CVE-2021-28676>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-28676>
- <https://github.com/advisories/GHSA-7r7m-5h27-29hp>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-92.yaml>
- <https://github.com/python-pillow/Pillow>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/>
- <https://ubuntu.com/security/CVE-2021-28676>
- <https://ubuntu.com/security/notices/USN-4963-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-28676>
- <https://ubuntu.com/security/notices/USN-8135-1>
- <https://security-tracker.debian.org/tracker/CVE-2021-28676>

---

Data as of 2026-12-05T04:44:59.721Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
