Buffer overflow in Libtiff
CVE-2018-18557
LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta, 4.0.5, 4.0.6, 4.0.7, 4.0.8 and 4.0.9 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tif_jbig.c JBIGDecode out-of-bounds write.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.150 (96.6th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 96.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.150 · newest: 0.150 · change: 0.000
Affected products
- Libtiff — versions 4.0.9
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 8.0, 9.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- usn.ubuntu.com/3864-1/ (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2018/dsa-4349 (vendor-advisory, Third Party Advisory)
- www.exploit-db.com/exploits/45694/ (Exploit, VDB Entry, Third Party Advisory, exploit)
- gitlab.com/libtiff/libtiff/merge_requests/38 (Third Party Advisory)
- lists.debian.org/debian-lts-announce/2018/10/msg00019.html (mailing-list, Mailing List, Third Party Advisory)
- usn.ubuntu.com/3906-2/ (vendor-advisory)
- security.gentoo.org/glsa/201904-15 (vendor-advisory)
- gitlab.com/libtiff/libtiff/commit/681748ec2f5ce88da5f9fa6831e1653e46af8a66
- access.redhat.com/errata/RHSA-2019:2053 (vendor-advisory)
- github.com/Hack-Me/Pocs_for_Multi_Versions/tree/main/CVE-2018-18557
Frequently asked questions
- What is CVE-2018-18557?
- CVE-2018-18557 is a high-severity vulnerability in Libtiff, classified under Out-of-bounds Write. CVSS score: 8.8/10. Published 2018-10-22.
- How severe is CVE-2018-18557?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2018-18557 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.