CVE-2017-7228: Insufficient Input Validation in Xen XENMEM_exchange (XSA-212)
- Vendor
- Xen
CVE-2017-7228 (XSA-212) is a vulnerability in the Xen hypervisor affecting versions 4.4.x through 4.8.x. The vulnerability arises from an insufficient check introduced by the earlier XSA-29 fix on the XENMEM_exchange hypercall input. This flaw allows a guest to provide crafted input/output arrays, enabling the hypervisor to perform memory accesses outside the intended guest-provided buffers, potentially leading to memory corruption or information disclosure.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A malicious guest can exploit this vulnerability to cause the Xen hypervisor to access memory outside of the guest-provided arrays. This can result in hypervisor memory corruption, information disclosure, or potentially escalation of privileges, depending on the memory accessed.
Mitigation
If you can’t patch tonight, do this now.
If patching is not immediately possible, restrict access to the XENMEM_exchange hypercall from untrusted guests or limit the ability to create or run untrusted guests on the host. Consider using hardware virtualization features to further isolate guests.
Remediation
Patch, then assume compromise.
Apply the patches provided by the Xen Project for all affected versions (4.4.x through 4.8.x). The patches introduce proper validation of the XENMEM_exchange input to ensure memory accesses remain within the bounds of the guest-provided arrays.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2017-7228 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2017-7228 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2017-7228?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2017-7228. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2017-7228?
- Apply the patches provided by the Xen Project for all affected versions (4.4.x through 4.8.x). The patches introduce proper validation of the XENMEM_exchange input to ensure memory accesses remain within the bounds of the guest-provided arrays.
- What products are affected by CVE-2017-7228?
- Xen.
- How severe is CVE-2017-7228?
- CVE-2017-7228 has a CVSS v3 score of 8.2 (High) and an EPSS score of 1.6% (76th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.