CVE-2017-15118

Summary

CVECVE-2017-15118
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-07-27 21:29:00 UTC
Updated2023-11-07 02:39:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-787

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 17.10 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 17.10 All All All
Application Qemu Qemu All All All All
Application Qemu Qemu All All All All
Operating System Redhat Enterprise Linux 7.0 All All All
Operating System Redhat Enterprise Linux 7.0 All All All

References

ReferenceSourceLinkTags
oss-security - CVE-2017-15118 Qemu: stack buffer overflow in NBD server triggered via long export name MISC www.openwall.com Mailing List, Patch, Third Party Advisory
[Qemu-devel] [PULL 2/2] nbd/server: CVE-2017-15118 Stack smash on large MISC lists.gnu.org Exploit, Patch, Third Party Advisory
QEMU - NBD Server Long Export Name Stack Buffer Overflow - Linux dos Exploit EXPLOIT-DB www.exploit-db.com Exploit, Third Party Advisory, VDB Entry
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
QEMU 'b/nbd/server.c' Stack Buffer Overflow Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
USN-3575-1: QEMU vulnerabilities | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
1516922 – (CVE-2017-15118) CVE-2017-15118 Qemu: stack buffer overflow in NBD server triggered via long export name CONFIRM bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report