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.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 87th percentile — 87.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.031 · newest: 0.031 · change: 0.000
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 proof-of-concept exploits
References
- bugzilla.maptools.org/show_bug.cgi (Exploit, Third Party Advisory, Issue Tracking)
- lists.debian.org/debian-lts-announce/2018/05/msg00009.html (mailing-list, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2018/05/msg00008.html (mailing-list, Mailing List, Third Party Advisory)
- github.com/halfbitteam/POCs/tree/master/libtiff-4.08_tiff2ps_heap_overflow (Exploit, Third Party Advisory)
- usn.ubuntu.com/3864-1/ (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2018/dsa-4349 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2018/07/msg00002.html (mailing-list, Mailing List, Third Party Advisory)
- gitlab.com/libtiff/libtiff/commit/58a898cb4459055bb488ca815c23b880c242a27d (Patch, Third Party Advisory)
- access.redhat.com/errata/RHSA-2019:2053 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-8905?
- CVE-2018-8905 is a high-severity vulnerability in Libtiff, classified under Out-of-bounds Write. CVSS score: 8.8/10. Published 2018-03-22.
- How severe is CVE-2018-8905?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2018-8905 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.