What’s Vulnerable › Vulnerabilities
CVE-2018-8905
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-03-22 · updated 2026-06-17
- Weakness: CWE-787
Description
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
- Canonical Ubuntu Linux: 14.04, 16.04, 18.04, 18.10
- Debian Linux: 7.0, 8.0, 9.0
- libtiff: 4.0.9
- RedHat Enterprise Linux Desktop: 7.0
- RedHat Enterprise Linux Server: 7.0
- RedHat Enterprise Linux Workstation: 7.0
References
- http://bugzilla.maptools.org/show_bug.cgi?id=2780
- https://access.redhat.com/errata/RHSA-2019:2053
- https://github.com/halfbitteam/POCs/tree/master/libtiff-4.08_tiff2ps_heap_overflow
- https://gitlab.com/libtiff/libtiff/commit/58a898cb4459055bb488ca815c23b880c242a27d
- https://lists.debian.org/debian-lts-announce/2018/05/msg00008.html
- https://lists.debian.org/debian-lts-announce/2018/05/msg00009.html
- https://lists.debian.org/debian-lts-announce/2018/07/msg00002.html
- https://usn.ubuntu.com/3864-1/
- https://www.debian.org/security/2018/dsa-4349
- http://bugzilla.maptools.org/show_bug.cgi?id=2780
- https://access.redhat.com/errata/RHSA-2019:2053
- https://github.com/halfbitteam/POCs/tree/master/libtiff-4.08_tiff2ps_heap_overflow
Get alerted when CVE-2018-8905 or the next vulnerability affects your stack