CVE-2018-1118
Reported by redhat · Published May 10, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux-raspi2 | Ubuntu:18.04:LTS | 4.15.0-1022.24 |
| linux | Ubuntu:18.04:LTS | 4.15.0-34.37 |
| linux-azure | Ubuntu:18.04:LTS | 4.15.0-1023.24 |
| linux-aws | Ubuntu:18.04:LTS | 4.15.0-1021.21 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| kernel | vhost | since 4.8 |
| kernel | vhost | 4.8 |
Timeline
- May 10, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 6, 2026 Security Advisory (6 in total, the first dated here)
- Sep 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-1118
vulnetix vdb fixes CVE-2018-1118
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-1118/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2018:3083 vendor-advisoryx_refsource_REDHAT
- USN-3762-1 vendor-advisoryx_refsource_UBUNTU
- [debian-lts-announce] 20180718 [SECURITY] [DLA 1423-1] linux-4.9 new package mailing-listx_refsource_MLIST
- RHSA-2018:2948 vendor-advisoryx_refsource_REDHAT
- USN-3762-2 vendor-advisoryx_refsource_UBUNTU
- RHSA-2018:3096 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM