Home / Xen / Xen / CVE-2016-3157
CVE-2016-3157: is it exploited, and which versions of Xen are affected and fixed?
CVE-2016-3157 is a vulnerability in Xen. 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, 08:08 UTC). Affected: xen 4.0.0 and ubuntu linux 12.04 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:08 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:45 UTC.
What is CVE-2016-3157?
The __switch_to function in arch/x86/kernel/process_64.c in the Linux kernel does not properly context-switch IOPL on 64-bit PV Xen guests, which allows local guest OS users to gain privileges, cause a denial of service (guest OS crash), or obtain sensitive information by leveraging I/O port access.
From the CVE record by mitre, last updated August 5, 2024, 23:47 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| xen | xen | 4.0.0 | operating system |
| canonical | ubuntu linux | 12.04 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:45 UTC.
How severe is CVE-2016-3157?
| Score | Version | Vector | Source |
|---|---|---|---|
| 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 |
| High 7.2 | CVSS 2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C | 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-2016-3157 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.51% probability of exploitation activity in the next 30 days, percentile 45.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- USN-2971-2 vendor-advisory, x_refsource_UBUNTU
- http://xenbits.xen.org/xsa/advisory-171.html x_refsource_CONFIRM
- USN-2970-1 vendor-advisory, x_refsource_UBUNTU
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html x_refsource_CONFIRM
- USN-2969-1 vendor-advisory, x_refsource_UBUNTU
- USN-2968-1 vendor-advisory, x_refsource_UBUNTU
- USN-2971-3 vendor-advisory, x_refsource_UBUNTU
- USN-2997-1 vendor-advisory, x_refsource_UBUNTU
- DSA-3607 vendor-advisory, x_refsource_DEBIAN
- USN-2971-1 vendor-advisory, x_refsource_UBUNTU
- USN-2996-1 vendor-advisory, x_refsource_UBUNTU
- USN-2968-2 vendor-advisory, x_refsource_UBUNTU
- 1035308 vdb-entry, x_refsource_SECTRACK
- 84594 vdb-entry, x_refsource_BID
When was it published, and where is the official record?
- Reserved
- March 15, 2016
- Published
- April 12, 2016, 16:00 UTC
- CVE record updated
- August 5, 2024, 23:47 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 00:45 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:45 UTC; KEV December 3, 2026, 08:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Xen?
- Nov 4, 2026CVE-2026-102703 Xen: incorrect type conversion
- Nov 4, 2026CVE-2026-102704 Xen: protection mechanism failure
- Oct 13, 2026CVE-2026-102700 Xen: resource not released
- Oct 13, 2026CVE-2026-102702 Xen: integer underflow
- Oct 13, 2026CVE-2026-102699 Xen: integer underflow
- Oct 13, 2026CVE-2026-79611 Xen: type confusion
- Oct 13, 2026CVE-2026-79610 Xen: race condition
- Oct 13, 2026CVE-2026-79609 Xen: improper access control
Questions about CVE-2016-3157
Is CVE-2016-3157 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:08 UTC. FIRST's EPSS gives it a 0.51% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Xen are affected by CVE-2016-3157?
xen 4.0.0 and ubuntu linux 12.04, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2016-3157?
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-2016-3157?
High (7.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-3157?
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.