CVE-2017-15118 in Canonical Ubuntu Linux and 2 more products
A stack-based buffer overflow vulnerability was found in NBD server implementation in qemu before 2.11 allowing a client to request an export name of size up to 4096 bytes, which in fact should be limited to 256 bytes, causing an out-of-bounds stack write in the qemu process. If NBD server requires TLS, the attacker...
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 14.04 16.04 17.10 |
| Qemu | Qemu | 2.11 < 2.11 |
| Redhat | Enterprise Linux | 7.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
A stack-based buffer overflow vulnerability was found in NBD server implementation in qemu before 2.11 allowing a client to request an export name of size up to 4096 bytes, which in fact should be limited to 256 bytes, causing an out-of-bounds stack write in the qemu process. If NBD server requires TLS, the attacker cannot trigger the buffer overflow without first successfully negotiating TLS.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2017-15118 |
|---|---|
| BreachSpider ID | BS-2018-GLOBAL-158315-C |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2018-07-27 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-121: Stack-Based Buffer Overflow
Buffer overflow corrupting the program stack, typically overwriting the return address for code execution.
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
A stack-based buffer overflow vulnerability in the NBD server implementation of qemu before version 2.11 allows a client to exploit an out-of-bounds stack write by requesting an export name exceeding the expected size limit.
The vulnerability arises from the NBD server not properly validating the size of the export name provided by a client, leading to a buffer overflow. If TLS is required, the attack vector is mitigated by the need for successful TLS negotiation.
Questions
What is CVE-2017-15118?
A stack-based buffer overflow vulnerability in the NBD server implementation of qemu before version 2.11 allows a client to exploit an out-of-bounds stack write by requesting an export name exceeding the expected size limit.
What is the CVSS score for CVE-2017-15118?
CVE-2017-15118 has CVSS 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 11.9%.
Is CVE-2017-15118 actively exploited?
Public exploit available for CVE-2017-15118. Exploitation risk elevated.
How do I remediate CVE-2017-15118?
Priority: IMMEDIATE. Advisory: https://access.redhat.com/errata/RHSA-2018:1104
What systems are affected by CVE-2017-15118?
CVE-2017-15118 affects Canonical Ubuntu Linux; Qemu Qemu; Redhat Enterprise Linux.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.