Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-15118
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:43 UTC · Revision 1

Source evidence

CVE-2017-15118

core-osv · Original source

Published 27 Jul 2018, 21:29 UTC

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.

osv:CVE-2017-15118
Complete source record
{
  "id": "3021a6ea0dda39878002a8c14e3e5174c40e3e36c938d5943f5ba11741535f25",
  "url": "https://osv.dev/vulnerability/CVE-2017-15118",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-15118",
    "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.",
    "evidence": "osv:CVE-2017-15118",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2017-15118",
      "aliases": [
        "CVE-2017-15118"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/qemu/qemu",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0a0dc59d27527b78a195c2d838d28b7b49e5a639"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.11.0-rc5",
            "v2.11.0-rc4",
            "v2.11.0-rc3",
            "v2.11.0-rc2",
            "v2.11.0-rc1",
            "v2.11.0-rc0",
            "v2.10.0",
            "v2.10.0-rc4",
            "v2.10.0-rc3",
            "v2.10.0-rc2",
            "v2.10.0-rc1",
            "v2.9.0",
            "v2.10.0-rc0",
            "v2.9.0-rc5",
            "v2.9.0-rc4",
            "v2.9.0-rc3",
            "v2.9.0-rc2",
            "v2.9.0-rc1",
            "v2.8.0",
            "v2.9.0-rc0",
            "v2.8.0-rc4",
            "v2.8.0-rc3",
            "v2.8.0-rc2",
            "v2.8.0-rc1",
            "v2.8.0-rc0",
            "v2.7.0",
            "v2.7.0-rc5",
            "v2.7.0-rc4",
            "v2.7.0-rc3",
            "v2.7.0-rc2",
            "v2.6.0",
            "v2.7.0-rc1",
            "v2.7.0-rc0",
            "v2.6.0-rc5",
            "v2.6.0-rc4",
            "v2.6.0-rc3",
            "v2.6.0-rc2",
            "v2.6.0-rc1",
            "v2.6.0-rc0",
            "v2.5.0",
            "v2.5.0-rc4",
            "v2.5.0-rc3",
            "v2.5.0-rc2",
            "v2.5.0-rc1",
            "v2.5.0-rc0",
            "v2.4.0",
            "v2.4.0-rc4",
            "v2.4.0-rc3",
            "v2.3.0",
            "v2.4.0-rc2",
            "v2.4.0-rc1",
            "v2.4.0-rc0",
            "v2.3.0-rc4",
            "v2.3.0-rc3",
            "v2.3.0-rc2",
            "v2.3.0-rc1",
            "v2.3.0-rc0",
            "v2.2.0",
            "v2.2.0-rc3",
            "v2.2.0-rc5",
            "v2.2.0-rc4",
            "v2.2.0-rc2",
            "v2.2.0-rc1",
            "v2.2.0-rc0",
            "v2.1.0",
            "v2.1.0-rc5",
            "v2.1.0-rc4",
            "v2.1.0-rc2",
            "v2.1.0-rc3",
            "v2.0.0",
            "v2.1.0-rc1",
            "v2.1.0-rc0",
            "v2.0.0-rc3",
            "v2.0.0-rc2",
            "v2.0.0-rc1",
            "v2.0.0-rc0",
            "v1.7.0",
            "v1.7.0-rc2",
            "v1.7.0-rc1",
            "v1.7.0-rc0",
            "v1.6.0",
            "v1.6.0-rc3",
            "v1.6.0-rc2",
            "v1.6.0-rc1",
            "v1.6.0-rc0",
            "v1.5.0",
            "v1.5.0-rc3",
            "v1.5.0-rc2",
            "v1.5.0-rc1",
            "v1.5.0-rc0",
            "v1.4.0",
            "v1.4.0-rc2",
            "v1.4.0-rc1",
            "v1.4.0-rc0",
            "v1.3.0",
            "v1.3.0-rc2",
            "v1.3.0-rc1",
            "v1.3.0-rc0",
            "v1.2.0",
            "v1.2.0-rc3",
            "v1.2.0-rc2",
            "v1.2.0-rc1",
            "v1.2.0-rc0",
            "v1.1.0",
            "v1.1.0-rc4",
            "v1.1.0-rc3",
            "v1.1.0-rc2",
            "v1.1-rc2",
            "v1.1-rc1",
            "v1.1-rc0",
            "v1.0",
            "v1.0-rc4",
            "v1.0-rc3",
            "v1.0-rc2",
            "v1.0-rc1",
            "v1.0-rc0",
            "v0.14.0-rc0",
            "v0.13.0-rc0",
            "v0.12.0-rc0",
            "v0.11.0-rc0",
            "v0.5.0",
            "v0.4.4",
            "v0.4.3",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.6",
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "v0.1.1",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-15118.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/qemu-project/qemu",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0a0dc59d27527b78a195c2d838d28b7b49e5a639"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.11.0-rc5",
            "v2.11.0-rc4",
            "v2.11.0-rc3",
            "v2.11.0-rc2",
            "v2.11.0-rc1",
            "v2.11.0-rc0",
            "v2.10.0",
            "v2.10.0-rc4",
            "v2.10.0-rc3",
            "v2.10.0-rc2",
            "v2.10.0-rc1",
            "v2.9.0",
            "v2.10.0-rc0",
            "v2.9.0-rc5",
            "v2.9.0-rc4",
            "v2.9.0-rc3",
            "v2.9.0-rc2",
            "v2.9.0-rc1",
            "v2.8.0",
            "v2.9.0-rc0",
            "v2.8.0-rc4",
            "v2.8.0-rc3",
            "v2.8.0-rc2",
            "v2.8.0-rc1",
            "v2.8.0-rc0",
            "v2.7.0",
            "v2.7.0-rc5",
            "v2.7.0-rc4",
            "v2.7.0-rc3",
            "v2.7.0-rc2",
            "v2.6.0",
            "v2.7.0-rc1",
            "v2.7.0-rc0",
            "v2.6.0-rc5",
            "v2.6.0-rc4",
            "v2.6.0-rc3",
            "v2.6.0-rc2",
            "v2.6.0-rc1",
            "v2.6.0-rc0",
            "v2.5.0",
            "v2.5.0-rc4",
            "v2.5.0-rc3",
            "v2.5.0-rc2",
            "v2.5.0-rc1",
            "v2.5.0-rc0",
            "v2.4.0",
            "v2.4.0-rc4",
            "v2.4.0-rc3",
            "v2.3.0",
            "v2.4.0-rc2",
            "v2.4.0-rc1",
            "v2.4.0-rc0",
            "v2.3.0-rc4",
            "v2.3.0-rc3",
            "v2.3.0-rc2",
            "v2.3.0-rc1",
            "v2.3.0-rc0",
            "v2.2.0",
            "v2.2.0-rc3",
            "v2.2.0-rc5",
            "v2.2.0-rc4",
            "v2.2.0-rc2",
            "v2.2.0-rc1",
            "v2.2.0-rc0",
            "v2.1.0",
            "v2.1.0-rc5",
            "v2.1.0-rc4",
            "v2.1.0-rc2",
            "v2.1.0-rc3",
            "v2.0.0",
            "v2.1.0-rc1",
            "v2.1.0-rc0",
            "v2.0.0-rc3",
            "v2.0.0-rc2",
            "v2.0.0-rc1",
            "v2.0.0-rc0",
            "v1.7.0",
            "v1.7.0-rc2",
            "v1.7.0-rc1",
            "v1.7.0-rc0",
            "v1.6.0",
            "v1.6.0-rc3",
            "v1.6.0-rc2",
            "v1.6.0-rc1",
            "v1.6.0-rc0",
            "v1.5.0",
            "v1.5.0-rc3",
            "v1.5.0-rc2",
            "v1.5.0-rc1",
            "v1.5.0-rc0",
            "v1.4.0",
            "v1.4.0-rc2",
            "v1.4.0-rc1",
            "v1.4.0-rc0",
            "v1.3.0",
            "v1.3.0-rc2",
            "v1.3.0-rc1",
            "v1.3.0-rc0",
            "v1.2.0",
            "v1.2.0-rc3",
            "v1.2.0-rc2",
            "v1.2.0-rc1",
            "v1.2.0-rc0",
            "v1.1.0",
            "v1.1.0-rc4",
            "v1.1.0-rc3",
            "v1.1.0-rc2",
            "v1.1-rc2",
            "v1.1-rc1",
            "v1.1-rc0",
            "v1.0",
            "v1.0-rc4",
            "v1.0-rc3",
            "v1.0-rc2",
            "v1.0-rc1",
            "v1.0-rc0",
            "v0.14.0-rc0",
            "v0.13.0-rc0",
            "v0.12.0-rc0",
            "v0.11.0-rc0",
            "v0.5.0",
            "v0.4.4",
            "v0.4.3",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.6",
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "v0.1.1",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-15118.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:43.678168490Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/errata/RHSA-2018:1104",
        "https://usn.ubuntu.com/3575-1/",
        "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-15118",
        "https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg05045.html",
        "https://www.exploit-db.com/exploits/43194/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  },
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "17.10"
                  },
                  {
                    "last_affected": "17.10"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-15118",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 435676,
  "published_at": "2018-07-27T21:29:00.337+00:00"
}