Skip to content
Fencer Intel
high 7.8

CVE-2016-5126 json

Heap-based buffer overflow in the iscsi_aio_ioctl function in block/iscsi.c in QEMU allows local guest OS users to cause a denial of servic…

published 2016-06-01 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-6077

cvss
7.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 53%
public exploits
0
none known

Summary

Heap-based buffer overflow in the iscsi_aio_ioctl 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.

Patch / fix

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

debian advisories DEBIAN-CVE-2016-5126

  • qemu Ubuntu 14.04 LTS 2.0.0+dfsg-2ubuntu1.26
  • qemu Ubuntu 16.04 LTS 1:2.5+dfsg-5ubuntu10.3

ubuntu advisories UBUNTU-CVE-2016-5126

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • qemu-kvm-rhev RHEL 7, openstack 9, openstack 8 +3 more 10:2.3.0-31.el7_2.21
  • qemu-img-rhev RHEL 7, openstack 9, openstack 8 +3 more 10:2.3.0-31.el7_2.21
  • libcacard-rhev RHEL 7, openstack 9, openstack 8 +3 more 10:2.3.0-31.el7_2.21
  • qemu-kvm-tools-rhev RHEL 7, openstack 9, openstack 8 +3 more 10:2.3.0-31.el7_2.21
  • libcacard-tools-rhev RHEL 7, openstack 9, openstack 8 +3 more 10:2.3.0-31.el7_2.21
  • qemu-kvm-common-rhev RHEL 7, openstack 9, openstack 8 +3 more 10:2.3.0-31.el7_2.21
  • libcacard-devel-rhev RHEL 7, openstack 6, openstack 5 10:2.3.0-31.el7_2.21
  • qemu-kvm RHEL 7 10:1.5.3-105.el7_2.7

red hat advisories RHSA-2016:1763RHSA-2016:1653RHSA-2016:1756RHSA-2016:1654RHSA-2016:1655RHSA-2016:1607

  • kvm SLES for SAP 11 SP4, SLES 11 SP4 1.4.2-47.1
  • qemu SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 2.3.1-21.1
  • xen SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 4.4.4_07-37.1
  • xen SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +1 more 4.5.3_08-17.1
  • qemu SLES for SAP 12, SLES 12-LTSS 2.0.2-48.22.1
  • xen SLES for SAP 12, SLES 12-LTSS 4.4.4_04-22.22.2

suse advisories SUSE-SU-2016:2781-1SUSE-SU-2016:2628-1SUSE-SU-2016:2589-1SUSE-SU-2016:2533-1SUSE-SU-2016:2100-1SUSE-SU-2016:2093-1

  • qemu openSUSE Tumbleweed 2.6.1-1.5

opensuse advisories openSUSE-SU-2024:10233-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-2016-5126 updated cvss 5.4

Qemu: block: iscsi: buffer overflow in iscsi_aio_ioctl

  • Red Hat Enterprise Linux Client (v. 7) qemu-img 1.5.3-105.el7_2.7, qemu-kvm 1.5.3-105.el7_2.7, libcacard 1.5.3-105.el7_2.7, qemu-kvm-tools 1.5.3-105.el7_2.7, qemu-kvm-common 1.5.3-105.el7_2.7 Red Hat Enterprise Linux Client Optional (v. 7) libcacard-tools 1.5.3-105.el7_2.7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) qemu-img 1.5.3-105.el7_2.7, qemu-kvm 1.5.3-105.el7_2.7, libcacard 1.5.3-105.el7_2.7, qemu-kvm-tools 1.5.3-105.el7_2.7, libcacard-tools 1.5.3-105.el7_2.7, qemu-kvm-common 1.5.3-105.el7_2.7
    fixed: vendor fix RHSA-2016:1606
  • Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7 qemu-img-rhev 2.3.0-31.el7_2.21, qemu-kvm-rhev 2.3.0-31.el7_2.21, libcacard-rhev 2.3.0-31.el7_2.21, qemu-kvm-tools-rhev 2.3.0-31.el7_2.21, libcacard-devel-rhev 2.3.0-31.el7_2.21, libcacard-tools-rhev 2.3.0-31.el7_2.21, +1 more
    fixed: vendor fix RHSA-2016:1655
  • Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7 qemu-img-rhev 2.3.0-31.el7_2.21, qemu-kvm-rhev 2.3.0-31.el7_2.21, libcacard-rhev 2.3.0-31.el7_2.21, qemu-kvm-tools-rhev 2.3.0-31.el7_2.21, libcacard-devel-rhev 2.3.0-31.el7_2.21, libcacard-tools-rhev 2.3.0-31.el7_2.21, +1 more
    fixed: vendor fix RHSA-2016:1654
  • Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7 qemu-img-rhev 2.3.0-31.el7_2.21, qemu-kvm-rhev 2.3.0-31.el7_2.21, libcacard-rhev 2.3.0-31.el7_2.21, qemu-kvm-tools-rhev 2.3.0-31.el7_2.21, libcacard-tools-rhev 2.3.0-31.el7_2.21, qemu-kvm-common-rhev 2.3.0-31.el7_2.21
    fixed: vendor fix RHSA-2016:1653
  • Red Hat Enterprise Linux Server (v. 7) qemu-img 1.5.3-105.el7_2.7, qemu-kvm 1.5.3-105.el7_2.7, libcacard 1.5.3-105.el7_2.7, qemu-kvm-tools 1.5.3-105.el7_2.7, qemu-kvm-common 1.5.3-105.el7_2.7 Red Hat Enterprise Linux Server Optional (v. 7) libcacard 1.5.3-105.el7_2.7, libcacard-tools 1.5.3-105.el7_2.7 Red Hat Enterprise Linux Workstation (v. 7) qemu-img 1.5.3-105.el7_2.7, qemu-kvm 1.5.3-105.el7_2.7, libcacard 1.5.3-105.el7_2.7, qemu-kvm-tools 1.5.3-105.el7_2.7, qemu-kvm-common 1.5.3-105.el7_2.7 Red Hat Enterprise Linux Workstation Optional (v. 7) libcacard-tools 1.5.3-105.el7_2.7
    fixed: vendor fix RHSA-2016:1606
  • Red Hat OpenStack Platform 8.0 (Liberty) qemu-img-rhev 2.3.0-31.el7_2.21, qemu-kvm-rhev 2.3.0-31.el7_2.21, libcacard-rhev 2.3.0-31.el7_2.21, qemu-kvm-tools-rhev 2.3.0-31.el7_2.21, libcacard-tools-rhev 2.3.0-31.el7_2.21, qemu-kvm-common-rhev 2.3.0-31.el7_2.21
    fixed: vendor fix RHSA-2016:1756
  • Red Hat OpenStack Platform 9.0 qemu-img-rhev 2.3.0-31.el7_2.21, qemu-kvm-rhev 2.3.0-31.el7_2.21, libcacard-rhev 2.3.0-31.el7_2.21, qemu-kvm-tools-rhev 2.3.0-31.el7_2.21, libcacard-tools-rhev 2.3.0-31.el7_2.21, qemu-kvm-common-rhev 2.3.0-31.el7_2.21
    fixed: vendor fix RHSA-2016:1763
  • Red Hat RHEV-H and VDSM for 7 Hosts qemu-img-rhev 2.3.0-31.el7_2.21, qemu-kvm-rhev 2.3.0-31.el7_2.21, libcacard-rhev 2.3.0-31.el7_2.21, qemu-kvm-tools-rhev 2.3.0-31.el7_2.21, libcacard-devel-rhev 2.3.0-31.el7_2.21, libcacard-tools-rhev 2.3.0-31.el7_2.21, +1 more
    fixed: vendor fix RHSA-2016:1607
show 1 more
  • Red Hat Enterprise Linux 5 kvm, xen Red Hat Enterprise Linux 6 qemu-img, qemu-kvm, qemu-kvm-tools, qemu-guest-agent, qemu-guest-agent-win32 Red Hat OpenStack Platform 10 (Newton) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhev
    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

Exploit prediction

0.70% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness

References

Sources

Fencer Intel 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.