Integer overflow in Python Pillow
CVE-2020-5310
libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.020 (79.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 80th percentile — 79.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.020 · newest: 0.020 · change: 0.000
Affected products
- Python Pillow
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- 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/4e2def2539ec13e53a82e06c4b3daf00454100c4 (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)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2020-5310?
- CVE-2020-5310 is a high-severity vulnerability in Python Pillow, classified under Integer Overflow or Wraparound. CVSS score: 8.8/10. Published 2020-01-03.
- How severe is CVE-2020-5310?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2020-5310 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.