Buffer overflow in Libtiff
CVE-2018-8905
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.031, 87.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libtiff — versions 4.0.9
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 7.0, 8.0, 9.0
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Workstation — versions 7.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (andir/nixos-issue-db-example). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.maptools.org/show_bug.cgi (Exploit, Third Party Advisory, Issue Tracking)
- [debian-lts-announce] 20180514 [SECURITY] [DLA 1378-1] tiff3 security update (mailing-list, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20180514 [SECURITY] [DLA 1377-1] tiff security update (mailing-list, Mailing List, Third Party Advisory)
- github.com/halfbitteam/POCs/tree/master/libtiff-4.08_tiff2ps_heap_overflow (Exploit, Third Party Advisory)
- USN-3864-1 (vendor-advisory, Third Party Advisory)
- DSA-4349 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20180702 [SECURITY] [DLA 1411-1] tiff security update (mailing-list, Mailing List, Third Party Advisory)
- gitlab.com/libtiff/libtiff/commit/58a898cb4459055bb488ca815c23b880c242a27d (Patch, Third Party Advisory)
- RHSA-2019:2053 (vendor-advisory, Third Party Advisory)