Feed
7.5HIGH
CVE-2021-25291Out of bounds read in Pillow
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.4% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 1.4%
- percentile 73%
- Fix
- Named by a source
- CVE published 19 Mar 2021
Reference
None of the "Needs attention" rules apply right now.
EPSS 1.4% (+1) · 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/commit/8b8076bdcb3815be0ef0d279651d8d1342b8ea61
- Commit / pull request: https://github.com/python-pillow/Pillow/commit/cbdce6c5d054fccaf4af34b47f212355c64ace7a
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected< 8.2.0Fixed in8.2.0OSV (GHSA-mvg9-xffr-p774)
- Affected< 8.1.1Fixed in8.1.1disputedOSV (PYSEC-2021-37)
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-mvg9-xffr-p774)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-125
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. In `TiffDecode.c`, there is an out-of-bounds read in `TiffreadRGBATile` via invalid tile boundaries.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-25291
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/8b8076bdcb3815be0ef0d279651d8d1342b8ea61
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/cbdce6c5d054fccaf4af34b47f212355c64ace7a
- advisoryhttps://github.com/advisories/GHSA-mvg9-xffr-p774
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-37.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-mvg9-xffr-p774 (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2021-37 (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 17 min ago · osv 17 min ago · nvd 46 min ago · epss 77 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-pillow-2021-25291, GHSA-mvg9-xffr-p774, PYSEC-2021-37