{"schemaVersion":3,"id":"CVE-2018-8905","aliases":["ALPINE-CVE-2018-8905","UBUNTU-CVE-2018-8905","DEBIAN-CVE-2018-8905","DLA-1377-1","DLA-1378-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-03-22T04:00:00.000Z","modified":"2024-08-05T07:10:46.630Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.03077,"percentile":0.87484,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03077},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03077,"percentile":0.87484}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03077,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03077,"percentile":0.87484}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_HALFBITTEAM_POCS","name":"Pocs","source":"github","url":"https://github.com/halfbitteam/POCs/tree/master/libtiff-4.08_tiff2ps_heap_overflow","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_7D520F9FFF03B3AD","name":"Exploit Reference (bugzilla.maptools.org)","source":"reference","url":"http://bugzilla.maptools.org/show_bug.cgi?id=2780","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"tiff","name":"tiff","label":"tiff","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/tiff","purlType":"apk","versions":[{"text":"< 4.0.9-r5","noFixRecorded":false,"fixedIn":null},{"text":"< 4.0.9-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.9-r5 | < 4.0.9-r4","eol":null,"hubHref":null},{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"14.04","noFixRecorded":false,"fixedIn":null},{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"18.04","noFixRecorded":false,"fixedIn":null},{"text":"18.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"14.04 | 16.04 | 18.04 | 18.10","eol":{"isEol":true,"eolDate":"2019-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"14.04","label":"14.04 'Trusty Tahr' (LTS)","eolFrom":"2019-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"14.04.6"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"tiff","name":"tiff","label":"tiff","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/tiff","purlType":"deb","versions":[{"text":"< 4.0.9-6","noFixRecorded":false,"fixedIn":null},{"text":"< 4.0.2-6+deb7u20","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.9-6 | < 4.0.2-6+deb7u20","eol":null,"hubHref":null},{"vendor":"debian","product":"tiff3","name":"tiff3","label":"tiff3","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/tiff3","purlType":"deb","versions":[{"text":"< 3.9.6-11+deb7u11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.9.6-11+deb7u11","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"tiff","name":"tiff","label":"tiff","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/tiff","purlType":"deb","versions":[{"text":"< 4.0.3-7ubuntu0.10","noFixRecorded":false,"fixedIn":null},{"text":"< 4.0.6-1ubuntu0.5","noFixRecorded":false,"fixedIn":null},{"text":"< 4.0.9-5ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.3-7ubuntu0.10 | < 4.0.6-1ubuntu0.5 | < 4.0.9-5ubuntu0.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null},{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0 | 8.0 | 9.0","eol":{"isEol":true,"eolDate":"2018-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"7","label":"7 (Wheezy)","eolFrom":"2018-05-31T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"7.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"libtiff","product":"libtiff","name":"libtiff","label":"libtiff","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.0.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.0.9","eol":null,"hubHref":"/vendor/libtiff/libtiff"},{"vendor":"redhat","product":"enterprise_linux_desktop","name":"enterprise linux desktop","label":"enterprise_linux_desktop","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_desktop"},{"vendor":"redhat","product":"enterprise_linux_server","name":"enterprise linux server","label":"enterprise_linux_server","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server"},{"vendor":"redhat","product":"enterprise_linux_workstation","name":"enterprise linux workstation","label":"enterprise_linux_workstation","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_workstation"}],"affectedCount":10,"eol":{"hasEol":true,"count":2},"references":[{"url":"http://bugzilla.maptools.org/show_bug.cgi?id=2780","label":"bugzilla.maptools.org/show_bug.cgi?id=2780","hostname":"bugzilla.maptools.org","tags":["X Refsource MISC","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/05/msg00009.html","label":"lists.debian.org/debian-lts-announce/2018/05/msg00009.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/05/msg00008.html","label":"lists.debian.org/debian-lts-announce/2018/05/msg00008.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://github.com/halfbitteam/POCs/tree/master/libtiff-4.08_tiff2ps_heap_overflow","label":"github.com/halfbitteam/POCs/tree/master/libtiff-4.08_tiff2ps_heap_overflow","hostname":"github.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","REPORT"]},{"url":"https://usn.ubuntu.com/3864-1/","label":"usn.ubuntu.com/3864-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://www.debian.org/security/2018/dsa-4349","label":"www.debian.org/security/2018/dsa-4349","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00002.html","label":"lists.debian.org/debian-lts-announce/2018/07/msg00002.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://gitlab.com/libtiff/libtiff/commit/58a898cb4459055bb488ca815c23b880c242a27d","label":"gitlab.com/libtiff/libtiff/commit/58a898cb4459055bb488ca815c23b880c242a27d","hostname":"gitlab.com","tags":["X Refsource CONFIRM","Patch","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2053","label":"access.redhat.com/errata/RHSA-2019:2053","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-8905","label":"security.alpinelinux.org/vuln/CVE-2018-8905","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-8905","label":"ubuntu.com/security/CVE-2018-8905","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3864-1","label":"ubuntu.com/security/notices/USN-3864-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-8905","label":"www.cve.org/CVERecord?id=CVE-2018-8905","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-8905","label":"security-tracker.debian.org/tracker/CVE-2018-8905","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1411-1","DSA-4349-1","MGASA-2018-0246","OPENSUSE-SU-2024:11461-1","RHSA-2019:2053","SUSE-SU-2018:1826-1","SUSE-SU-2018:1835-1","SUSE-SU-2018:1889-1","USN-3864-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11461-1","SUSE-SU-2018:1826-1","SUSE-SU-2018:1835-1","SUSE-SU-2018:1889-1","USN-3864-1"]},"timeline":[{"kind":"published","date":"2018-03-22T04:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T07:10:46.630Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":46,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T15:41:40.887Z","stale":false,"partial":false}}