{"schemaVersion":3,"id":"CVE-2018-1118","aliases":["UBUNTU-CVE-2018-1118","DEBIAN-CVE-2018-1118"],"status":"published","duplicateOf":null,"title":null,"description":"Linux kernel vhost since version 4.8 does not properly initialize memory in messages passed between virtual guests and the host operating system in the vhost/vhost.c:vhost_new_msg() function. This can allow local privileged users to read some kernel memory contents when reading from the /dev/vhost-net device file.","dates":{"published":"2018-05-10T22:00:00.000Z","modified":"2024-08-05T03:51:48.923Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":2.3,"severity":"low","vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":2.1,"severity":"low","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":2.3,"severity":"low","vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N","exploitability":2.1,"impact":2.3,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true}]},"epss":{"probability":0.00374,"percentile":0.29927,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.007000000000000018,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00381},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00366,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00374,"percentile":0.29927}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00366,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00374,"percentile":0.29927}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-665","name":"Improper Initialization","description":"The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/665.html"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"}],"affected":[{"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}],"versionsText":"16.04 | 18.04","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":"linux","name":"linux","label":"linux","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/linux","purlType":"deb","versions":[{"text":"< 4.17.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.17.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"linux","name":"linux","label":"linux","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/linux","purlType":"deb","versions":[{"text":"< 4.15.0-34.37","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.15.0-34.37","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"linux-aws","name":"linux-aws","label":"linux-aws","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/linux-aws","purlType":"deb","versions":[{"text":"< 4.15.0-1021.21","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.15.0-1021.21","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"linux-azure","name":"linux-azure","label":"linux-azure","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/linux-azure","purlType":"deb","versions":[{"text":"< 4.15.0-1023.24~16.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 4.15.0-1023.24","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.15.0-1023.24~16.04.1 | < 4.15.0-1023.24","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"linux-gcp","name":"linux-gcp","label":"linux-gcp","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/linux-gcp","purlType":"deb","versions":[{"text":"< 4.15.0-1019.20~16.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 4.15.0-1019.20","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.15.0-1019.20~16.04.1 | < 4.15.0-1019.20","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"linux-hwe","name":"linux-hwe","label":"linux-hwe","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/linux-hwe","purlType":"deb","versions":[{"text":"< 4.15.0-34.37~16.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.15.0-34.37~16.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"linux-kvm","name":"linux-kvm","label":"linux-kvm","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/linux-kvm","purlType":"deb","versions":[{"text":"< 4.15.0-1021.21","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.15.0-1021.21","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"linux-oem","name":"linux-oem","label":"linux-oem","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/linux-oem","purlType":"deb","versions":[{"text":"< 4.15.0-1018.21","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.15.0-1018.21","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"linux-raspi2","name":"linux-raspi2","label":"linux-raspi2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/linux-raspi2","purlType":"deb","versions":[{"text":"< 4.15.0-1022.24","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.15.0-1022.24","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":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"kernel","product":"vhost","name":"vhost","label":"vhost","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"since 4.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"since 4.8","eol":null,"hubHref":"/vendor/kernel/vhost"},{"vendor":"linux","product":"linux_kernel","name":"linux kernel","label":"linux_kernel","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≥ 4.8, < 4.18","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.8, < 4.18","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"linux","label":"Linux Kernel","category":"os"}},"hubHref":"/vendor/linux/linux_kernel"},{"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":"virtualization_host","name":"virtualization host","label":"virtualization_host","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.0","eol":null,"hubHref":"/vendor/redhat/virtualization_host"}],"affectedCount":17,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://access.redhat.com/errata/RHSA-2018:3083","label":"access.redhat.com/errata/RHSA-2018:3083","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/3762-1/","label":"usn.ubuntu.com/3762-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00020.html","label":"lists.debian.org/debian-lts-announce/2018/07/msg00020.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2948","label":"access.redhat.com/errata/RHSA-2018:2948","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/3762-2/","label":"usn.ubuntu.com/3762-2/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3096","label":"access.redhat.com/errata/RHSA-2018:3096","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1118","label":"bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1118","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-1118","label":"ubuntu.com/security/CVE-2018-1118","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://lkml.org/lkml/2018/4/27/833","label":"lkml.org/lkml/2018/4/27/833","hostname":"lkml.org","tags":["REPORT"]},{"url":"https://lkml.org/lkml/2018/5/29/1324","label":"lkml.org/lkml/2018/5/29/1324","hostname":"lkml.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3762-1","label":"ubuntu.com/security/notices/USN-3762-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-3762-2","label":"ubuntu.com/security/notices/USN-3762-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1118","label":"www.cve.org/CVERecord?id=CVE-2018-1118","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-1118","label":"security-tracker.debian.org/tracker/CVE-2018-1118","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1423-1","MGASA-2018-0324","MGASA-2018-0340","MGASA-2018-0341","OPENSUSE-SU-2024:10728-1","OPENSUSE-SU-2024:13704-1","RHSA-2018:2948","RHSA-2018:3083","RHSA-2018:3096","SUSE-SU-2018:2092-1","SUSE-SU-2018:2222-1","USN-3762-1","USN-3762-2"],"duplicates":[],"related":["OPENSUSE-SU-2024:10728-1","OPENSUSE-SU-2024:13704-1","SUSE-SU-2018:2092-1","SUSE-SU-2018:2222-1","USN-3762-1","USN-3762-2"]},"timeline":[{"kind":"published","date":"2018-05-10T22:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T03:51:48.923Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T15:55:10.034Z","stale":false,"partial":false}}