LibTIFF version 4.0.7 is vulnerable to a heap buffer overflow in the tools/tiffcp resulting in DoS or code execution via a crafted BitsPerSample value.
https://security.gentoo.org/glsa/201709-27
https://github.com/vadz/libtiff/commit/5c080298d59efa53264d7248bbe3a04660db6ef7
http://www.securitytracker.com/id/1037911
http://www.securityfocus.com/bid/95413
http://www.debian.org/security/2017/dsa-3844