CVE-2020-5310
python-pillow: Integer overflow leading to buffer overflow in ImagingLibTiffDecode
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 3, 2020
Updated · June 28, 2026
Description
libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.
Statement
This issue did not affect the versions of python-pillow as shipped with Red Hat Enterprise Linux 5, 6, 7, and 8 as they did not include support for tiled TIFF images, where the flaw lies.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-190 · Integer Overflow or Wraparound