Vulnerabilities · 2017 · Libtiff
CVE-2017-9935
Libtiff vulnerability
In LibTIFF 4.0.8, there is a heap-based buffer overflow in the t2p_write_pdf function in tools/tiff2pdf.c. This heap overflow could lead to different damages. For example, a crafted TIFF document can lead to an out-of-bounds read in TIFFCleanup, an invalid free in TIFFClose or t2p_free, memory corruption in t2p_readwrite_pdf_image, or a double free in t2p_free. Given these possibilities, it probably could cause arbitrary code execution.
Affected products
Libtiff, Ubuntu Linux, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libtiff runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugzilla.maptools.org/show_bug.cgi?id=2704 · Exploit
- www.securityfocus.com/bid/99296 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2017/12/msg00008.html · Third Party Advisory
- usn.ubuntu.com/3606-1/ · Third Party Advisory
- www.debian.org/security/2018/dsa-4100 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-9935
- cve.org/CVERecord?id=CVE-2017-9935
More vulnerabilities in Libtiff products
CVE-2025-9165CVE-2025-8961CVE-2025-8851CVE-2025-8534CVE-2025-8177CVE-2025-8176CVE-2024-13978CVE-2024-7006All 258
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.