GHSA-r7rm-8j6h-r933 · Severity: critical · Ecosystem: pip — Buffer Copy without Checking Size of Input in Pillow
libImaging/SgiRleDecode.c in Pillow before 6.2.2 has an SGI buffer overflow.
Conclusion & alert: CVE-2020-5311 is rated High Risk (70.8/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 4.21%). Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-23 | 4.05% | 4.21% | +0.16% |
| 2 | 2026-06-19 | 4.08% | 4.05% | -0.03% |
| 3 | 2026-06-15 | — | 4.08% | — |
Full EPSS history (39 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
GHSA-r7rm-8j6h-r933 · Severity: critical · Ecosystem: pip — Buffer Copy without Checking Size of Input in Pillow
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
critical | CVE-2020-5311: 1 source package rows (py3-pillow); 9 state rows across 9 repos (3.12-main, 3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community, edge-main); fixed 9, open 0. | https://security.alpinelinux.org/vuln/CVE-2020-5311 |
debian
|
not yet assigned | CVE-2020-5311 not yet assigned priority: Debian including 1 source packages (pillow), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2020-5311 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2020-5311 |
suse
|
high | CVE-2020-5311 severity important: SUSE including 139 source package names (ansible1-1.9.6-9.7.2, ardana-ansible-9.0+git.1591138508.e269bdb-3.22.2, …), 246 product×package rows across 10 product lines (HPE Helion OpenStack 8, HPE Helion OpenStack Cloud 8, … (10 product lines)): Fixed 239, Known Not Affected 7. | https://www.suse.com/security/cve/CVE-2020-5311/ |
ubuntu
|
medium | CVE-2020-5311 medium priority: Ubuntu including 1 source packages (pillow), 6 status rows across 6 suites (bionic, disco, eoan, trusty, upstream, xenial): released 3, not-affected 2, ignored 1. | https://ubuntu.com/security/CVE-2020-5311 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| python | pillow | < 6.2.2 | cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* |
| canonical | ubuntu_linux | 18.04 | cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:*:*:*:* |
| canonical | ubuntu_linux | 19.10 | cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:* |
| debian | debian_linux | 9.0 | cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
| fedoraproject | fedora | 30 | cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* |
| fedoraproject | fedora | 31 | cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://access.redhat.com/errata/RHSA-2020:0566 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2020:0580 | Third Party Advisory |
| https://github.com/python-pillow/Pillow/commit/a79b65c47c7dc6fe623aadf09aa6192fc54548f3 | Patch Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/ | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/ | |
| https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html | Release Notes Third Party Advisory |
| https://usn.ubuntu.com/4272-1/ | Third Party Advisory |
| https://www.debian.org/security/2020/dsa-4631 | Third Party Advisory |