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, 80.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python Pillow
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Fedoraproject Fedora — versions 30, 31
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (asa1997/topgear_test). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
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)
- FEDORA-2020-df444e464e (vendor-advisory)
- USN-4272-1 (vendor-advisory, Third Party Advisory)
- FEDORA-2020-5cdbb19cca (vendor-advisory)