Skip to main content
Public proof of conceptFix available

CVE-2017-15118

A public proof of concept exists; no exploitation attested.

  • Published2018-07-27
  • Fixed in2.11
  • WeaknessCWE-121 · CWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2017-11-29Exploit-DB entryExploit-DB

Versions per branch

NVD
Qemu
BranchAffectedFixed in
2.11< 2.112.11
Canonical ubuntu linux
BranchAffectedFixed in
14.4= 14.04no fix published
16.4= 16.04no fix published
17.10= 17.10no fix published
Redhat enterprise linux
BranchAffectedFixed in
7.0= 7.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • qemuopenSUSE:Tumbleweedall versions · fixed in 6.1.0-32.1
  • qemuDebian:14all versions · fixed in 1:2.11+dfsg-1
  • qemuDebian:13all versions · fixed in 1:2.11+dfsg-1
  • qemuDebian:12all versions · fixed in 1:2.11+dfsg-1
  • qemu-kvm-rhevRed Hat:openstack:12::el7all versions · fixed in 10:2.10.0-21.el7and 4 other packages
  • qemu-kvm-rhevRed Hat:openstack:11::el7all versions · fixed in 10:2.10.0-21.el7and 4 other packages
  • qemu-kvm-rhevRed Hat:openstack:10::el7all versions · fixed in 10:2.10.0-21.el7and 4 other packages
  • qemu-kvm-rhevRed Hat:openstack:9::el7all versions · fixed in 10:2.10.0-21.el7and 4 other packages

2 more package ranges on OSV.dev

Vendor advisories

  • CVE-2017-15118 Red Hat Product Security46 products fixed · 5 known affected

    Qemu: stack buffer overflow in NBD server triggered via long export name

    qemu-img-ma as a component of Red Hat Enterprise Linux 7 · qemu-kvm-common-ma as a component of Red Hat Enterprise Linux 7 · qemu-kvm-ma as a component of Red Hat Enterprise Linux 7 · +2 more

  • RHSA-2018:1113 Red Hat Product Security35 products fixed

    Red Hat Security Advisory: qemu-kvm-rhev security and bug fix update

  • RHSA-2018:1104 Red Hat Product Security11 products fixed

    Red Hat Security Advisory: qemu-kvm-rhev security, bug fix, and enhancement update

Full record on NVD

Fix

  1. Update Qemu to 2.11
  2. Vendor fix Red Hat Product Security RHSA-2018:1113 · 35 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing this update, shut down all running virtual machines. Once all virtual machines have shut down, start them again for this update to ta…
  3. No fix available, says the vendor Red Hat Product Security CVE-2017-15118 · 5 productsAffected

Advisories and patches

Detection

read 2026-12-04 04:56 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-43194
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CNACVSS 3.08.3known since 2026-10-23
  • NVDCVSS 3.09.8read 2026-10-23
  • NVDCVSS 2.07.5read 2026-10-23
  • CNAweakness (CWE)CWE-121known since 2026-10-23
  • NVDweakness (CWE)CWE-787read 2026-10-23
  • FIRST EPSSEPSS score11.7 %read 2026-12-04
  • Exploit-DBdetectionread 2026-12-04
  • OSVaffected packages—
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 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
NVD status
Modified
GitHub advisory
GHSA-p8q8-xqgv-rwvr

Frequently asked questions

What is 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 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.

Is CVE-2017-15118 actively exploited?

Active exploitation of CVE-2017-15118 has not been confirmed. Its EPSS score was 11.7% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2017-15118?

CVE-2017-15118 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running Qemu? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record