Vulnerabilities · 2018 · Libtiff
CVE-2018-8905
Libtiff vulnerability
In LibTIFF 4.0.9, a heap-based buffer overflow occurs in the function LZWDecodeCompat in tif_lzw.c via a crafted TIFF file, as demonstrated by tiff2ps.
Affected products
Libtiff, Debian Linux, Ubuntu Linux, Enterprise Linux Desktop, Enterprise Linux Server, Enterprise Linux Workstation. 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/58a898cb4459055bb488ca815c23b880c242a27d · Patch
- bugzilla.maptools.org/show_bug.cgi?id=2780 · Exploit
- access.redhat.com/errata/RHSA-2019:2053 · Third Party Advisory
- github.com/halfbitteam/POCs/tree/master/libtiff-4.08_tiff2ps_heap_overflow · Exploit
- lists.debian.org/debian-lts-announce/2018/05/msg00008.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2018/05/msg00009.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2018/07/msg00002.html · Third Party Advisory
- usn.ubuntu.com/3864-1/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-8905
- cve.org/CVERecord?id=CVE-2018-8905
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.