Feed
7.5HIGH
CVE-2021-25290Out-of-bounds Write in Pillow
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 2.4% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 2.4%
- percentile 85%
- Fix
- Named by a source
- CVE published 19 Mar 2021
Reference
None of the "Needs attention" rules apply right now.
EPSS 2.4% (+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/86f02f7c70862a0954bfe8133736d352db978eaa
- Commit / pull request: https://github.com/python-pillow/Pillow/commit/e25be1e33dc526bfd1094bc778a54d8e29bf66c9
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected< 8.1.1Fixed in8.1.1OSV (PYSEC-2021-36)
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-8xjq-8fcg-g5hw)
- 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. In TiffDecode.c, there is a negative-offset memcpy with an invalid size.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-25290
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/86f02f7c70862a0954bfe8133736d352db978eaa
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/e25be1e33dc526bfd1094bc778a54d8e29bf66c9
- advisoryhttps://github.com/advisories/GHSA-8xjq-8fcg-g5hw
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-36.yaml
- otherhttps://github.com/python-pillow/Pillow
- otherhttps://lists.debian.org/debian-lts-announce/2021/07/msg00018.html
- 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-8xjq-8fcg-g5hw (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2021-36 (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 32 min ago · osv 32 min ago · nvd just now · epss 31 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-pillow-2021-25290, GHSA-8xjq-8fcg-g5hw, PYSEC-2021-36