The _TIFFmalloc function in tif_unix.c in LibTIFF 4.0.3 does not reject a zero size, which allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted TIFF image that is mishandled by the TIFFWriteScanline function in tif_write.c, as demonstrated by tiffdither.
https://security.gentoo.org/glsa/201701-16
http://www.securitytracker.com/id/1032760
http://www.securityfocus.com/bid/72353
http://www.conostix.com/pub/adv/CVE-2014-8130-LibTIFF-Division_By_Zero.txt
http://support.apple.com/kb/HT204942
http://support.apple.com/kb/HT204941
http://rhn.redhat.com/errata/RHSA-2016-1547.html
http://rhn.redhat.com/errata/RHSA-2016-1546.html
http://lists.apple.com/archives/security-announce/2015/Jun/msg00002.html
http://lists.apple.com/archives/security-announce/2015/Jun/msg00001.html