The TIFFWriteDirectoryTagLongLong8Array function in tif_dirwrite.c in the tiffset tool in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds read) via vectors involving the ma variable.
https://security.gentoo.org/glsa/201701-16
http://www.securityfocus.com/bid/93331
http://www.openwall.com/lists/oss-security/2016/04/08/12