Buffer overflow in Python Pillow
CVE-2020-5311
libImaging/SgiRleDecode.c in Pillow before 6.2.2 has an SGI buffer overflow.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.042 (90.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 90.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.042 · newest: 0.042 · change: 0.000
Affected products
- Python Pillow
- Canonical Ubuntu Linux — versions 18.04, 19.10
- Debian Linux — versions 9.0, 10.0
- Fedoraproject Fedora — versions 30, 31
Weakness classification (CWE)
Public proof-of-concept exploits
References
- pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html (Third Party Advisory, Release Notes)
- github.com/python-pillow/Pillow/commit/a79b65c47c7dc6fe623aadf09aa6192fc54548f3 (Patch, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- usn.ubuntu.com/4272-1/ (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2020:0566 (vendor-advisory, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- www.debian.org/security/2020/dsa-4631 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2020:0580 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-5311?
- CVE-2020-5311 is a critical-severity vulnerability in Python Pillow, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 9.8/10. Published 2020-01-03.
- How severe is CVE-2020-5311?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2020-5311 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.