CVE-2017-15118: Buffer Overflow

Published Nov 23, 2017
·
Updated

A stack-based buffer overflow vulnerability was found in NBD server implementation in qemu allowing client to request an export name of size up to 4096 bytes, which in fact should be limited to 256 bytes, allowing to cause out-of-bounds stack write in qemu process.

If NBD server requires TLS, the attacker cannot trigger the buffer overflow without first successfully negotiating TLS.

Upstream patch: --------------- -> https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg05045.html

Reference: ---------- -> http://www.openwall.com/lists/oss-security/2017/11/28/8

Other sources

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.

Launchpad

Affected Software

7 affected componentsFixes available
redhat/qemu<2.11
2.11
Qemu Qemu<2.11
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
redhat Enterprise Linux=7.0
debian/qemu
1:5.2+dfsg-11+deb11u31:5.2+dfsg-11+deb11u51:7.2+dfsg-7+deb12u181:7.2+dfsg-7+deb12u151:10.0.11+ds-0+deb13u11:10.0.2+ds-2+deb13u11:11.0.2+ds-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/qemu to a version that resolves this vulnerability.

    Fixed in 2.11
  2. Upgrade

    Upgrade debian/qemu to a version that resolves this vulnerability.

    Fixed in 1:5.2+dfsg-11+deb11u3Fixed in 1:5.2+dfsg-11+deb11u5Fixed in 1:7.2+dfsg-7+deb12u18Fixed in 1:7.2+dfsg-7+deb12u15Fixed in 1:10.0.11+ds-0+deb13u1Fixed in 1:10.0.2+ds-2+deb13u1Fixed in 1:11.0.2+ds-2

Event History

Jul 27, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:31 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·08:15 PM
RemedyDescriptionSeverityAffected Software
Jul 16, 2026
Data Sourced
via Debian·11:14 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-15118?

CVE-2017-15118 is rated as a high severity vulnerability due to its potential to cause a stack-based buffer overflow.

2

How do I fix CVE-2017-15118?

To fix CVE-2017-15118, upgrade the qemu package to versions 2.11 or later.

3

Which versions of qemu are affected by CVE-2017-15118?

CVE-2017-15118 affects qemu versions up to 2.11.

4

Is CVE-2017-15118 exploitable remotely?

Yes, CVE-2017-15118 is exploitable remotely when the NBD server is improperly configured to allow oversized export names.

5

What systems are impacted by CVE-2017-15118?

CVE-2017-15118 impacts systems running qemu versions prior to 2.11, including specific versions of Ubuntu and Red Hat Enterprise Linux.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203