LibTIFF is prone to an overflow condition. The t2p_read_tiff_init() function in tools/tiff2pdf.c fails to properly sanitize user-supplied input resulting in a heap-based buffer overflow. With a specially crafted T2p struct pointer in a TIFF image, a remote attacker can potentially execute arbitrary code.
Upgrade to version 3.9.7, 4.0.3 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.