An issue was discovered in Pillow before 8.2.0.
Priority LOW 38CWE-835Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-835.
Summary
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.
Why it matters now
EPSS 0.02501 84th percentileScored 2026-11-08
Fix Partial pillow (PyPI): 8.2.0Red Hat: 1 advisoryRed Hat: 1 fixed, 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | pillow (PyPI) | before 8.2.0 | 8.2.0 | Patch available | GHSA-7r7m-5h27-29hp |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- pillow (PyPI) Vendor— Affected before 8.2.0 Fixed in 8.2.0 Patch available GHSA-7r7m-5h27-29hp
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* | before 8.2.0 | Vulnerable | python-pillow |
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
- cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* Versions before 8.2.0 Vulnerable ·python-pillow
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-7r7m-5h27-29hp pillow (PyPI) Fixed in 8.2.0 Advisory →
Red Hat 1 advisory
- RHSA-2021:4149 Released 2021-11-09 · Red Hat rating Moderatepython-pillow security update
- Red Hat Enterprise Linux AppStream (v. 8) python-pillow-5.1.1-16.el8, python3-pillow-5.1.1-16.el8
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Quay 3 | Affected | No fix yet |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2021:4149 |
Timeline
- 2026-10-02 Threatist record created from CVE-2021-28676
- 2026-10-03 Alias added: GHSA-7r7m-5h27-29hp
References
Advisory 7
- 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
- FEDORA-2021-77756994ba
- GLSA-202107-33
- [debian-lts-announce] 20210722 [SECURITY] [DLA 2716-1] pillow security update
- https://nvd.nist.gov/vuln/detail/CVE-2021-28676
- https://github.com/advisories/GHSA-7r7m-5h27-29hp
Other 4
- 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/[email protected]/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL
Sources
- CVE-2021-28676 · CVE Program
- CVE-2021-28676 · NVD
- FIRST EPSS
- GHSA-7r7m-5h27-29hp · GitHub Advisory Database · CC BY 4.0
- CVE-2021-28676 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences