CVE-2016-5126: Buffer Overflow

Published May 30, 2016
·
Updated

Heap-based buffer overflow in the iscsiaioioctl function in block/iscsi.c in QEMU allows local guest OS users to cause a denial of service (QEMU process crash) or possibly execute arbitrary code via a crafted iSCSI asynchronous I/O ioctl call.

Other sources

Quick Emulator(Qemu) built with the Block driver for iSCSI images support (virtio-blk) is vulnerable to a heap buffer overflow flaw. It could occur while processing iSCSI asynchronous I/O ioctl(2) calls.

A user inside guest could use this flaw to crash the Qemu process resulting in DoS OR potentially leverage it to execute arbitrary code with privileges of the Qemu process on the host.

Upstream patch: --------------- -> https://lists.gnu.org/archive/html/qemu-block/2016-05/msg00779.html

Reference: ---------- -> http://www.openwall.com/lists/oss-security/2016/05/30/6

Red Hat

Affected Software

31 affected components
Qemu Qemu<=2.6.2
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Oracle Linux=7
Debian Debian Linux=8.0
redhat Openstack=6.0
redhat Openstack=7.0
redhat Openstack=8
redhat Openstack=9
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Eus=7.2
redhat Enterprise Linux Eus=7.3
redhat Enterprise Linux Eus=7.4
redhat Enterprise Linux Eus=7.5
redhat Enterprise Linux Eus=7.6
redhat Enterprise Linux Eus=7.7
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.2
redhat Enterprise Linux Server Aus=7.3
redhat Enterprise Linux Server Aus=7.4
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Aus=7.7
redhat Enterprise Linux Server Tus=7.2
redhat Enterprise Linux Server Tus=7.3
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Server Tus=7.7
redhat Enterprise Linux Workstation=7.0
redhat Openstack=5.0
redhat Virtualization=3.0
redhat Enterprise Linux=7.0

Event History

May 30, 2016
Data Sourced
via Red Hat·05:36 PM
DescriptionSeverityAffected Software
Jun 1, 2016
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-5126?

The severity of CVE-2016-5126 is classified as critical due to its potential to cause denial of service and possible arbitrary code execution.

2

How do I fix CVE-2016-5126?

To fix CVE-2016-5126, you should upgrade QEMU to version 2.6.3 or later where the vulnerability has been patched.

3

What systems are affected by CVE-2016-5126?

CVE-2016-5126 affects various versions of QEMU and multiple Linux distributions including Ubuntu 12.04, 14.04, and 16.04, among others.

4

What type of vulnerability is CVE-2016-5126?

CVE-2016-5126 is a heap-based buffer overflow vulnerability found in the iscsi_aio_ioctl function of QEMU.

5

What can be done if I cannot upgrade my system to patch CVE-2016-5126?

If you cannot upgrade, consider restricting access to the QEMU instance and applying network security measures to minimize exposure.

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