Vulnerabilities · 2018 · Libtiff
CVE-2018-5784
Libtiff vulnerability
In LibTIFF 4.0.9, there is an uncontrolled resource consumption in the TIFFSetDirectory function of tif_dir.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file. This occurs because the declared number of directory entries is not validated against the actual number of directory entries.
Affected products
Libtiff, Debian Linux, Ubuntu 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
- gitlab.com/libtiff/libtiff/commit/473851d211cf8805a161820337ca74cc9615d6ef · Patch
- bugzilla.maptools.org/show_bug.cgi?id=2772 · Exploit
- lists.debian.org/debian-lts-announce/2018/05/msg00022.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2018/07/msg00002.html · Third Party Advisory
- usn.ubuntu.com/3602-1/ · Third Party Advisory
- usn.ubuntu.com/3606-1/ · Third Party Advisory
- www.debian.org/security/2018/dsa-4349 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-5784
- cve.org/CVERecord?id=CVE-2018-5784
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.