Red Hat Bugzilla – Bug 1577311
CVE-2018-10779 libtiff: heap-based buffer over-read in TIFFWriteScanline function in tif_write.c
Last modified: 2018-07-10 15:32:44 EDT
A flaw was found in LibTIFF 3.8.2 in TIFFWriteScanline function in tif_write.c. A heap-based buffer over-read, as demonstrated by bmp2tiff. References: http://bugzilla.maptools.org/show_bug.cgi?id=2788
Created libtiff tracking bugs for this issue: Affects: fedora-all [bug 1577316] Created mingw-libtiff tracking bugs for this issue: Affects: epel-7 [bug 1577314] Affects: fedora-all [bug 1577315]
An integer overflow when computing the size of `td->td_stripbytecount` in TIFFSetupStrips allocates a buffer smaller than what is necessary, thus leading to a heap-based buffer overflow in TIFFWriteScanline when accessing the array.