n LibTIFF 4.0.8, there is a heap-based use-after-free in the t2p_writeproc function in tiff2pdf.c. https://nvd.nist.gov/vuln/detail/CVE-2017-17973