{"schemaVersion":3,"id":"CVE-2018-16402","aliases":["ALPINE-CVE-2018-16402","RHSA-2020:1471","UBUNTU-CVE-2018-16402","DEBIAN-CVE-2018-16402"],"status":"published","duplicateOf":null,"title":null,"description":"libelf/elf_end.c in elfutils 0.173 allows remote attackers to cause a denial of service (double free and application crash) or possibly have unspecified other impact because it tries to decompress twice.","dates":{"published":"2018-09-03T19:00:00.000Z","modified":"2024-08-05T10:24:31.953Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Red hat","score":4.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","exploitability":7.2,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.03691,"percentile":0.89563,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.03691},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03691,"percentile":0.89563}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03691,"percentile":0.89563}]},"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":"REF_23199D020F0B7EB6","name":"Exploit Reference (sourceware.org)","source":"reference","url":"https://sourceware.org/bugzilla/show_bug.cgi?id=23528","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-415","name":"Double Free","description":"The product calls free() twice on the same memory address.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/415.html"}],"affected":[{"vendor":"alpine","product":"elfutils","name":"elfutils","label":"elfutils","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/elfutils","purlType":"apk","versions":[{"text":"< 0.174-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.174-r0","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":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"18.04","noFixRecorded":false,"fixedIn":null},{"text":"18.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"16.04 | 18.04 | 18.10","eol":{"isEol":true,"eolDate":"2021-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"16.04","label":"16.04 'Xenial Xerus' (LTS)","eolFrom":"2021-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"16.04.7"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"elfutils","name":"elfutils","label":"elfutils","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/elfutils","purlType":"deb","versions":[{"text":"< 0.175-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.175-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"elfutils","name":"elfutils","label":"elfutils","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/elfutils","purlType":"deb","versions":[{"text":"< 0.165-3ubuntu1.2","noFixRecorded":false,"fixedIn":null},{"text":"< 0.170-0.4ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.165-3ubuntu1.2 | < 0.170-0.4ubuntu0.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":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"elfutils_project","product":"elfutils","name":"elfutils","label":"elfutils","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"0.173","noFixRecorded":false,"fixedIn":null}],"versionsText":"0.173","eol":null,"hubHref":"/vendor/elfutils_project/elfutils"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.0","noFixRecorded":false,"fixedIn":null},{"text":"15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.0 | 15.1","eol":{"isEol":true,"eolDate":"2019-12-03T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"15.0","label":"Leap 15.0","eolFrom":"2019-12-03T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"},{"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"},{"vendor":"redhat","product":"elfutils","name":"elfutils","label":"elfutils","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/elfutils","purlType":"rpm","versions":[{"text":"< 0:0.172-4.el7_6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.172-4.el7_6","eol":null,"hubHref":null},{"vendor":"redhat","product":"elfutils-debuginfo","name":"elfutils-debuginfo","label":"elfutils-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/elfutils-debuginfo","purlType":"rpm","versions":[{"text":"< 0:0.172-4.el7_6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.172-4.el7_6","eol":null,"hubHref":null},{"vendor":"redhat","product":"elfutils-default-yama-scope","name":"elfutils-default-yama-scope","label":"elfutils-default-yama-scope","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/elfutils-default-yama-scope","purlType":"rpm","versions":[{"text":"< 0:0.172-4.el7_6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.172-4.el7_6","eol":null,"hubHref":null},{"vendor":"redhat","product":"elfutils-devel","name":"elfutils-devel","label":"elfutils-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/elfutils-devel","purlType":"rpm","versions":[{"text":"< 0:0.172-4.el7_6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.172-4.el7_6","eol":null,"hubHref":null},{"vendor":"redhat","product":"elfutils-devel-static","name":"elfutils-devel-static","label":"elfutils-devel-static","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/elfutils-devel-static","purlType":"rpm","versions":[{"text":"< 0:0.172-4.el7_6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.172-4.el7_6","eol":null,"hubHref":null},{"vendor":"redhat","product":"elfutils-libelf","name":"elfutils-libelf","label":"elfutils-libelf","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/elfutils-libelf","purlType":"rpm","versions":[{"text":"< 0:0.172-4.el7_6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.172-4.el7_6","eol":null,"hubHref":null},{"vendor":"redhat","product":"elfutils-libelf-devel","name":"elfutils-libelf-devel","label":"elfutils-libelf-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/elfutils-libelf-devel","purlType":"rpm","versions":[{"text":"< 0:0.172-4.el7_6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.172-4.el7_6","eol":null,"hubHref":null},{"vendor":"redhat","product":"elfutils-libelf-devel-static","name":"elfutils-libelf-devel-static","label":"elfutils-libelf-devel-static","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/elfutils-libelf-devel-static","purlType":"rpm","versions":[{"text":"< 0:0.172-4.el7_6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.172-4.el7_6","eol":null,"hubHref":null},{"vendor":"redhat","product":"elfutils-libs","name":"elfutils-libs","label":"elfutils-libs","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/elfutils-libs","purlType":"rpm","versions":[{"text":"< 0:0.172-4.el7_6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.172-4.el7_6","eol":null,"hubHref":null}],"affectedCount":19,"eol":{"hasEol":true,"count":3},"references":[{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=23528","label":"sourceware.org/bugzilla/show_bug.cgi?id=23528","hostname":"sourceware.org","tags":["X Refsource MISC","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/4012-1/","label":"usn.ubuntu.com/4012-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00052.html","label":"lists.opensuse.org/opensuse-security-announce/2019-06/msg00052.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2197","label":"access.redhat.com/errata/RHSA-2019:2197","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://lists.apache.org/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0%40%3Cissues.bookkeeper.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00030.html","label":"lists.debian.org/debian-lts-announce/2021/10/msg00030.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-16402","label":"security.alpinelinux.org/vuln/CVE-2018-16402","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:1471","label":"access.redhat.com/errata/RHSA-2020:1471","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#low","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1625050","label":"bugzilla.redhat.com/show_bug.cgi?id=1625050","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_1471.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_1471.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-16402","label":"access.redhat.com/security/cve/CVE-2018-16402","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-16402","label":"www.cve.org/CVERecord?id=CVE-2018-16402","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16402","label":"nvd.nist.gov/vuln/detail/CVE-2018-16402","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-16402","label":"ubuntu.com/security/CVE-2018-16402","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4012-1","label":"ubuntu.com/security/notices/USN-4012-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-16402","label":"security-tracker.debian.org/tracker/CVE-2018-16402","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2802-1","MGASA-2019-0222","OPENSUSE-SU-2019:1590-1","RHSA-2019:2197","SUSE-SU-2019:1486-1","SUSE-SU-2022:2614-1","SUSE-SU-2022:2614-2","USN-4012-1"],"duplicates":[],"related":["OPENSUSE-SU-2019:1590-1","SUSE-SU-2019:1486-1","SUSE-SU-2022:2614-1","SUSE-SU-2022:2614-2","USN-4012-1"]},"timeline":[{"kind":"published","date":"2018-09-03T19:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T10:24:31.953Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T04:40:28.618Z","stale":false,"partial":false}}