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.
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2019:2053 https://access.redhat.com/errata/RHSA-2019:2053
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2018-10779