CVE-2021-28676
HIGH7.5EPSS 0.40%Potential infinite loop in Pillow
Published: 6/8/2021Modified: 4/28/2026
Description
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.
Affected packages (5)
- Alpine/py3-pillowfrom 0, < 8.2.0-r0
- Bitnami/pillowfrom 0, < 8.2.0
- Debian/pillowfrom 0, < 8.1.2+dfsg-0.2
- PyPI/pillowfrom 0, < 8.2.0
- PyPI/pillowfrom 0, < 8.2.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (15)
- ADVISORYhttps://github.com/advisories/GHSA-7r7m-5h27-29hp
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-28676
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2021-28676
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-28676
- PATCHhttps://github.com/python-pillow/Pillow
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-92.yaml
- WEBhttps://github.com/python-pillow/Pillow/commit/bb6c11fb889e6c11b0ee122b828132ee763b5856
- WEBhttps://github.com/python-pillow/Pillow/pull/5377
- WEBhttps://lists.debian.org/debian-lts-announce/2021/07/msg00018.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/
- WEBhttps://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28676-fix-fli-dos
- WEBhttps://security.gentoo.org/glsa/202107-33