Feed
9.8CRITICAL
CVE-2020-5311Buffer Copy without Checking Size of Input in Pillow
A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 3.7% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 3.7%
- percentile 90%
- Fix
- Named by a source
- CVE published 3 Jan 2020
Reference
None of the "Needs attention" rules apply right now.
EPSS 3.7% (+4) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- pillow (PyPI): upgrade to 6.2.2 or later on your release line.
- Patch: https://github.com/python-pillow/Pillow/commit/a79b65c47c7dc6fe623aadf09aa6192fc54548f3
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected< 6.2.2Fixed in6.2.2OSV (PYSEC-2020-82)
Confirmed facts
- CVSS
- 9.8 CRITICAL (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-r7rm-8j6h-r933)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-120
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)`libImaging/SgiRleDecode.c` in Pillow before 6.2.2 has an SGI buffer overflow.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2020-5311
- patchhttps://github.com/python-pillow/Pillow/commit/a79b65c47c7dc6fe623aadf09aa6192fc54548f3
- advisoryhttps://access.redhat.com/errata/RHSA-2020:0566
- advisoryhttps://access.redhat.com/errata/RHSA-2020:0580
- advisoryhttps://github.com/advisories/GHSA-r7rm-8j6h-r933
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-82.yaml
- otherhttps://github.com/python-pillow/Pillow
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P
- otherhttps://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html
- otherhttps://usn.ubuntu.com/4272-1
- advisoryhttps://www.debian.org/security/2020/dsa-4631
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/
- otherhttps://usn.ubuntu.com/4272-1/
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-r7rm-8j6h-r933 (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2020-82 (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 44 min ago · osv 44 min ago · nvd 44 min ago · epss 44 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-pillow-2020-5311, GHSA-r7rm-8j6h-r933, PYSEC-2020-82