Feed
9.8CRITICAL
CVE-2021-25289Out of bounds write in Pillow
A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 2.0% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 2.0%
- percentile 82%
- Fix
- Named by a source
- CVE published 19 Mar 2021
Reference
None of the "Needs attention" rules apply right now.
EPSS 2.0% (+2) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- pillow (PyPI): upgrade to 8.1.1 or later on your release line.
- Commit / pull request: https://github.com/python-pillow/Pillow/commit/3fee28eb9479bf7d59e0fa08068f9cc4a6e2f04c
- Commit / pull request: https://github.com/python-pillow/Pillow/commit/cbfdde7b1f2295059a20a539ee9960f0bec7b299
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected< 8.1.1Fixed in8.1.1OSV (PYSEC-2021-35)
Confirmed facts
- CVSS
- 9.8 CRITICAL (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-57h3-9rgr-c24m)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-787
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.1.1. TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode. NOTE: this issue exists because of an incomplete fix for CVE-2020-35654.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-25289
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/3fee28eb9479bf7d59e0fa08068f9cc4a6e2f04c
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/cbfdde7b1f2295059a20a539ee9960f0bec7b299
- advisoryhttps://github.com/advisories/GHSA-57h3-9rgr-c24m
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-35.yaml
- otherhttps://github.com/python-pillow/Pillow
- otherhttps://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html
- otherhttps://security.gentoo.org/glsa/202107-33
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-57h3-9rgr-c24m (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2021-35 (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 48 min ago · osv 48 min ago · nvd 48 min ago · epss 47 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-pillow-2021-25289, GHSA-57h3-9rgr-c24m, PYSEC-2021-35