cve.bz

CVE-2018-1118 Improper Initialization

5.5 mediumEPSS 0.4%

Medium (5.5). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

5.5 medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 30th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-665 Improper Initialization
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1118 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1118?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1118?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1118 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 4.8 before 4.18
debian:debian_linux8.0
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
redhat:virtualization_host4.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8linux-4.94.9.110-1~deb8u1DLA-1423-1
Debian12, 13, 14linux4.17.3-1DEBIAN-CVE-2018-1118
Ubuntu16.04:LTSlinux-azure4.15.0-1023.24~16.04.1UBUNTU-CVE-2018-1118 USN-3762-2
Ubuntu16.04:LTSlinux-gcp4.15.0-1019.20~16.04.1UBUNTU-CVE-2018-1118 USN-3762-2
Ubuntu16.04:LTSlinux-hwe4.15.0-34.37~16.04.1UBUNTU-CVE-2018-1118 USN-3762-2
Ubuntu18.04:LTSlinux4.15.0-34.37UBUNTU-CVE-2018-1118 USN-3762-1
Ubuntu18.04:LTSlinux-aws, linux-kvm4.15.0-1021.21UBUNTU-CVE-2018-1118 USN-3762-1
Ubuntu18.04:LTSlinux-azure4.15.0-1023.24UBUNTU-CVE-2018-1118 USN-3762-1
Ubuntu18.04:LTSlinux-gcp4.15.0-1019.20UBUNTU-CVE-2018-1118 USN-3762-1
Ubuntu18.04:LTSlinux-oem4.15.0-1018.21UBUNTU-CVE-2018-1118
Ubuntu18.04:LTSlinux-raspi24.15.0-1022.24UBUNTU-CVE-2018-1118 USN-3762-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationperf, kernel, bpftool and 15 more0:3.10.0-957.el7RHSA-2018:3083
Red Hatenterprise_linux:7::serverperf, kernel, bpftool and 22 more0:3.10.0-957.el7RHSA-2018:3083
Red Hatenterprise_linux:7::serverperf, kernel, kernel-alt and 17 more0:4.14.0-115.el7aRHSA-2018:2948
Red Hatrhel_extras_rt:7kernel-rt, kernel-rt-doc, kernel-rt-kvm and 14 more0:3.10.0-957.rt56.910.el7RHSA-2018:3096
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15, Linux Enterprise Module for Legacy 15 and 1 morekernel-default4.12.14-25.3.1SUSE-SU-2018:2092-1
SUSELinux Enterprise Live Patching 15kernel-livepatch-SLE15_Update_11-1.3.1SUSE-SU-2018:2092-1
SUSELinux Enterprise Module for Basesystem 15kernel-source, kernel-default, kernel-zfcpdump4.12.14-25.3.1SUSE-SU-2018:2092-1
SUSELinux Enterprise Module for Development Tools 15kernel-docs, kernel-syms, kernel-source and 2 more4.12.14-25.3.1SUSE-SU-2018:2092-1
SUSELinux Enterprise Module for Public Cloud 15kernel-azure, kernel-syms-azure, kernel-source-azure4.12.14-5.8.1SUSE-SU-2018:2222-1
openSUSETumbleweedkernel-source5.14.6-1.4openSUSE-SU-2024:10728-1
openSUSETumbleweedkernel-source6.6.17-1.1openSUSE-SU-2024:13704-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-957.rt56.910.el7Fixed 2018-10-30RHSA-2018:3096
Red Hat Enterprise Linux 7kernel-alt-0:4.14.0-115.el7aFixed 2018-10-30RHSA-2018:2948
Red Hat Enterprise Linux 7kernel-0:3.10.0-957.el7Fixed 2018-10-30RHSA-2018:3083
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise MRG 2realtime-kernelNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1118.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON