tools/tiff2pdf.c in libtiff 4.0.6 has out-of-bounds write vulnerabilities in heap allocated buffers in t2p_process_jpeg_strip(). Reported as MSVR 35098, aka "t2p_process_jpeg_strip heap-buffer-overflow."Referenceshttp://rhn.redhat.com/errata/RHSA-2017-0225.htmlhttp://www.securityfocus.com/bid/94484http://www.debian.org/security/2017/dsa-3762http://www.securityfocus.com/bid/94745https://github.com/vadz/libtiff/commit/83a4b92815ea04969d494416eaae3d4c6b338e4a#diff-5173a9b3b48146e4fd86d7b9b346115e