arch/x86/mm.c in Xen allows local PV guest OS users to gain host OS privileges via vectors related to map_grant_ref.
- Published
- Aug 24, 2017
- Updated
- Jun 16, 2026
- EPSS
- 0.4% · 36th percentile
- CWE
- CWE-120
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
35
Monitor
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| xen | xen | cpe:2.3:o:xen:xen |
| citrix | xenserver | cpe:2.3:a:citrix:xenserver |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- citrix xenserver6.0.2
- citrix xenserver6.2.0
- citrix xenserver6.5
- citrix xenserver7.0
- citrix xenserver7.1
- citrix xenserver7.2
- debian debian linux8.0
- debian debian linux9.0
- xen xenall versions
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | xen | before 4.9.0-r1 | 4.9.0-r1 |
| Alpine:v3.3 | xen | before 4.6.6-r0 | 4.6.6-r0 |
| Alpine:v3.5 | xen | before 4.7.3-r0 | 4.7.3-r0 |
| Alpine:v3.6 | xen | before 4.8.2-r0 | 4.8.2-r0 |
| Debian:12 | xen | before 4.8.1-1+deb9u3 | 4.8.1-1+deb9u3 |
| Debian:7 | xen | before 4.1.6.lts1-9 | 4.1.6.lts1-9 |
| Debian:8 | xen | before 4.4.1-9+deb8u10 | 4.4.1-9+deb8u10 |
| SUSE:Linux Enterprise Desktop 12 SP2 | xen | before 4.7.3_03-43.9.1 | 4.7.3_03-43.9.1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | xen | before 4.9.0_11-3.9.1 | 4.9.0_11-3.9.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | xen | before 4.2.5_21-45.5.1 | 4.2.5_21-45.5.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | xen | before 4.4.4_22-22.51.2 | 4.4.4_22-22.51.2 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | xen | before 4.4.4_22-61.9.2 | 4.4.4_22-61.9.2 |
| SUSE:OpenStack Cloud 6 | xen | before 4.5.5_14-22.25.1 | 4.5.5_14-22.25.1 |
Same product
xen: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-10921The grant-table feature in Xen through 4.8.x does not ensure sufficient type counts for a GNTMAP_device_map and GNTMAP_host_map mapping, whi41Plan
- CVE-2017-10920The grant-table feature in Xen through 4.8.x mishandles a GNTMAP_device_map and GNTMAP_host_map mapping, when followed by only a GNTMAP_host41Plan
- CVE-2017-10918Xen through 4.8.x does not validate memory allocations during certain P2M operations, which allows guest OS users to obtain privileged host 41Plan
- CVE-2017-10912Xen through 4.8.x mishandles page transfer, which allows guest OS users to obtain privileged host OS access, aka XSA-217.41Plan
- CVE-2015-8104The KVM subsystem in the Linux kernel through 4.2.6, and Xen 4.3.x through 4.6.x, allows guest OS users to cause a denial of service (host O41Plan
- CVE-2015-5165The C+ mode offload emulation in the RTL8139 network card device model in QEMU, as used in Xen 4.5.x and earlier, allows remote attackers to41Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:xen | 4.9.0-r1 · Alpine:v3.10 | Package registry (OSV) |
| debian:xen | 4.8.1-1+deb9u3 · Debian:12 | Package registry (OSV) |
| suse:xen | 4.5.5_14-22.25.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
Impact can extend beyond the vulnerable component (scope changes).
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')CVSS vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
nvd-primary
Root cause
When data is copied, the source length is not compared with the size of the destination buffer. Excess data overwrites adjacent memory.
The bug in code
The whole CWE-120 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
char buf[256];memcpy(buf, pkt->data, pkt->len);Fixed
char buf[256];if (pkt->len > sizeof(buf)) { return -EINVAL;}memcpy(buf, pkt->data, pkt->len);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
- Overflow Variables and TagsCAPEC-46likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- www.securitytracker.com/id/1039174
- www.debian.org/security/2017/dsa-3969
- www.openwall.com/lists/oss-security/2017/08/15/2
- www.securityfocus.com/bid/100342
- xenbits.xen.org/xsa/advisory-227.html
- bugzilla.redhat.com/show_bug.cgi?id=1477657
- security.gentoo.org/glsa/201801-14
- support.citrix.com/article/CTX225941
Vendor advisories and official records. Exploit/PoC links are deliberately left out.