Skip to content
Fencer Vulns
high 8.3

CVE-2017-15118 in the critical feed json

A stack-based buffer overflow vulnerability was found in NBD server implementation in qemu before 2.11 allowing a client to request an expo…

published 2018-07-27 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-6579

cvss
8.3
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
11.9%
EPSS 11.9% chance of exploitation in 30 days, percentile 96%
public exploits
1
Exploit-DB

Summary

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.

Patch / fix

  • qemu qemu 2.11
  • qemu Debian 14, Debian 13, Debian 12 1:2.11+dfsg-1

debian advisories DEBIAN-CVE-2017-15118

  • qemu-kvm-rhev RHEL 7, openstack 12, openstack 11 +3 more 10:2.10.0-21.el7
  • qemu-img-rhev RHEL 7, openstack 12, openstack 11 +3 more 10:2.10.0-21.el7
  • qemu-kvm-tools-rhev RHEL 7, openstack 12, openstack 11 +3 more 10:2.10.0-21.el7
  • qemu-kvm-common-rhev RHEL 7, openstack 12, openstack 11 +3 more 10:2.10.0-21.el7

red hat advisories RHSA-2018:1113RHSA-2018:1104

  • qemu openSUSE Tumbleweed 6.1.0-32.1

opensuse advisories openSUSE-SU-2024:11287-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-15118 updated cvss 8.3

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

  • Red Hat Enterprise Linux 7 qemu-img-ma, qemu-kvm-ma, qemu-kvm-tools-ma, qemu-kvm-common-ma
    affected: no fix available
  • Red Hat OpenStack Platform 8.0 (Liberty) qemu-img-rhev 2.10.0-21.el7, qemu-kvm-rhev 2.10.0-21.el7, qemu-kvm-tools-rhev 2.10.0-21.el7, qemu-kvm-common-rhev 2.10.0-21.el7 Red Hat OpenStack Platform 9.0 qemu-img-rhev 2.10.0-21.el7, qemu-kvm-rhev 2.10.0-21.el7, qemu-kvm-tools-rhev 2.10.0-21.el7, qemu-kvm-common-rhev 2.10.0-21.el7 Red Hat OpenStack Platform 10.0 qemu-img-rhev 2.10.0-21.el7, qemu-kvm-rhev 2.10.0-21.el7, qemu-kvm-tools-rhev 2.10.0-21.el7, qemu-kvm-common-rhev 2.10.0-21.el7 Red Hat OpenStack Platform 11.0 qemu-img-rhev 2.10.0-21.el7, qemu-kvm-rhev 2.10.0-21.el7, qemu-kvm-tools-rhev 2.10.0-21.el7, qemu-kvm-common-rhev 2.10.0-21.el7 Red Hat OpenStack Platform 12.0 qemu-img-rhev 2.10.0-21.el7, qemu-kvm-rhev 2.10.0-21.el7, qemu-kvm-tools-rhev 2.10.0-21.el7, qemu-kvm-common-rhev 2.10.0-21.el7
    fixed: vendor fix RHSA-2018:1113
  • Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts qemu-img-rhev 2.10.0-21.el7, qemu-kvm-rhev 2.10.0-21.el7, qemu-kvm-tools-rhev 2.10.0-21.el7, qemu-kvm-common-rhev 2.10.0-21.el7
    fixed: vendor fix RHSA-2018:1104
  • Red Hat Enterprise Linux 5 kvm, xen Red Hat Enterprise Linux 6 qemu-img, qemu-kvm, qemu-kvm-rhev, qemu-kvm-tools, qemu-guest-agent, qemu-guest-agent-win32 Red Hat Enterprise Linux 7 qemu-img, qemu-kvm, libcacard, qemu-kvm-tools, libcacard-tools, qemu-kvm-common, +1 more Red Hat Enterprise Linux 8 qemu-img, qemu-kvm, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, qemu-guest-agent, +8 more Red Hat Enterprise Linux OpenStack Platform 6 (Juno) qemu-kvm-rhev Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) qemu-img-rhev, qemu-kvm-rhev, libcacard-rhev, qemu-kvm-tools-rhev, libcacard-devel-rhev, libcacard-tools-rhev, +1 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (EDB-43194)
  2. Published

Exploit prediction

11.93% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-43194 QEMU - NBD Server Long Export Name Stack Buffer Overflow dos, 2017-11-29
  • lists.gnu.org https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg05045.html referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.0 8.3 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected products

  • QEMU Qemu

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.