Home / kernel / KVM / CVE-2018-1087
CVE-2018-1087: is it exploited, and which versions of kernel KVM are affected and fixed?
CVE-2018-1087 is a runs with more privileges than needed vulnerability in kernel KVM. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: KVM kernel 4.16, KVM kernel 4.16-rc7, KVM kernel 4.17-rc1 and 2 more (CVE record by redhat). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.0, CVSS 3.0, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:32 UTC.
What is CVE-2018-1087?
kernel KVM before versions kernel 4.16, kernel 4.16-rc7, kernel 4.17-rc1, kernel 4.17-rc2 and kernel 4.17-rc3 is vulnerable to a flaw in the way the Linux kernel's KVM hypervisor handled exceptions delivered after a stack switch operation via Mov SS or Pop SS instructions. During the stack switch operation, the processor did not deliver interrupts and exceptions, rather they are delivered once the first instruction after the stack switch is executed. An unprivileged KVM guest user could use this flaw to crash the guest or, potentially, escalate their privileges in the guest.
From the CVE record by redhat, last updated August 5, 2024, 03:51 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| kernel | KVM | kernel 4.16 kernel 4.16-rc7 kernel 4.17-rc1 kernel 4.17-rc2 kernel 4.17-rc3 |
As the CVE record by redhat states it, last updated August 5, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | 4.16 | operating system |
| linux | linux kernel | 4.17 | operating system |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 17.10 | operating system |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
| redhat | enterprise linux | 7.0 | operating system |
| redhat | enterprise linux desktop | 7.0 | operating system |
| redhat | enterprise linux server | 7.0 | operating system |
| redhat | enterprise linux server aus | 7.2 | operating system |
| redhat | enterprise linux server aus | 7.3 | operating system |
| redhat | enterprise linux server aus | 7.4 | operating system |
| redhat | enterprise linux server eus | 7.3 | operating system |
| redhat | enterprise linux server eus | 7.4 | operating system |
| redhat | enterprise linux server eus | 7.5 | operating system |
| redhat | enterprise linux server tus | 7.2 | operating system |
| redhat | enterprise linux server tus | 7.3 | operating system |
| redhat | enterprise linux server tus | 7.4 | operating system |
| redhat | enterprise linux virtualization | 4.0 | operating system |
| redhat | enterprise linux workstation | 7.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 01:50 UTC.
How severe is CVE-2018-1087?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.0 | CVSS 3.0 | CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat |
| High 7.8 | CVSS 3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 4.6 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-1087 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.74% probability of exploitation activity in the next 30 days, percentile 56.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-250 Execution with Unnecessary Privileges
Where are the vendor advisories and references?
- RHSA-2018:1347 vendor-advisory, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1087 x_refsource_CONFIRM
- 1040862 vdb-entry, x_refsource_SECTRACK
- RHSA-2018:1348 vendor-advisory, x_refsource_REDHAT
- DSA-4196 vendor-advisory, x_refsource_DEBIAN
- RHSA-2018:1355 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:1345 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/vulnerabilities/pop_ss x_refsource_MISC
- RHSA-2018:1318 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:1524 vendor-advisory, x_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2018/05/08/5 x_refsource_MISC
- 104127 vdb-entry, x_refsource_BID
- USN-3641-2 vendor-advisory, x_refsource_UBUNTU
- USN-3641-1 vendor-advisory, x_refsource_UBUNTU
When was it published, and where is the official record?
- Reserved
- December 4, 2017
- Published
- May 15, 2018, 16:00 UTC
- CVE record updated
- August 5, 2024, 03:51 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 01:50 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:32 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2018-1087
Is CVE-2018-1087 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 0.74% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of kernel KVM are affected by CVE-2018-1087?
KVM kernel 4.16, KVM kernel 4.16-rc7, KVM kernel 4.17-rc1, KVM kernel 4.17-rc2 and KVM kernel 4.17-rc3, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2018-1087?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2018-1087?
High (8.0, CVSS 3.0, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2018-1087?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.