SecurityContext

CVE-2018-18557: LibTIFF - Buffer Overflow

  • Cve: CVE-2018-18557
  • Name: LibTIFF - Buffer Overflow
  • Description: 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.
  • Impact: Attackers can cause arbitrary code execution or denial of service by exploiting out-of-bounds write via malicious JBIG data.
  • Remediation: Update to the latest version of LibTIFF where this issue is fixed, or apply patches addressing the buffer size validation.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.1496
  • Epss percentile: 0.96795
  • Assignee: [email protected]
  • Published at: 2018-10-22T16:29:00Z
  • Age in days: 2955
  • Modified at: 2026-06-17T01:47:29Z
  • Public exploits total: 1
  • References total: 10
  • Products total: 3
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-18557
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://www.exploit-db.com/exploits/45694/nvd2018-10-22

References

Same in every row:

  • Source: nvd
UrlTags
https://www.exploit-db.com/exploits/45694/Exploit, Third Party Advisory, VDB Entry
https://gitlab.com/libtiff/libtiff/merge_requests/38Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/10/msg00019.htmlMailing List, Third Party Advisory
https://usn.ubuntu.com/3864-1/Third Party Advisory
https://www.debian.org/security/2018/dsa-4349Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:2053
https://github.com/Hack-Me/Pocs_for_Multi_Versions/tree/main/CVE-2018-18557
https://gitlab.com/libtiff/libtiff/commit/681748ec2f5ce88da5f9fa6831e1653e46af8a66
https://security.gentoo.org/glsa/201904-15
https://usn.ubuntu.com/3906-2/

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
libtiff:libtiff= 4.0.9/v1/products/libtiff/libtiff
debian:debian_linux= 9.0, = 8.0/v1/products/debian/debian_linux
canonical:ubuntu_linux= 18.10, = 18.04, = 16.04, = 14.04/v1/products/canonical/ubuntu_linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2018-10-22
  • Remote: yes
  • Exposed hosts: 21216412
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports