Feed
7.5HIGH
CVE-2021-28676Potential infinite loop in Pillow
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 2.5% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 2.5%
- percentile 85%
- Fix
- Named by a source
- CVE published 2 Jun 2021
Reference
None of the "Needs attention" rules apply right now.
EPSS 2.5% (+3) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- pillow (PyPI): upgrade to 8.2.0 or later on your release line.
- Commit / pull request: https://github.com/python-pillow/Pillow/pull/5377
- Commit / pull request: https://github.com/python-pillow/Pillow/commit/bb6c11fb889e6c11b0ee122b828132ee763b5856
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected< 8.2.0Fixed in8.2.0OSV (PYSEC-2021-92)
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-7r7m-5h27-29hp)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-835
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-28676
- commit / pull requesthttps://github.com/python-pillow/Pillow/pull/5377
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/bb6c11fb889e6c11b0ee122b828132ee763b5856
- advisoryhttps://github.com/advisories/GHSA-7r7m-5h27-29hp
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-92.yaml
- otherhttps://github.com/python-pillow/Pillow
- otherhttps://lists.debian.org/debian-lts-announce/2021/07/msg00018.html
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL
- otherhttps://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28676-fix-fli-dos
- otherhttps://security.gentoo.org/glsa/202107-33
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-7r7m-5h27-29hp (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2021-92 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 31 min ago · osv 30 min ago · nvd 2 h ago · epss 30 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-pillow-2021-28676, GHSA-7r7m-5h27-29hp, PYSEC-2021-92