Skip to content
Fencer Intel
high 8.8

CVE-2013-4535 json

The virtqueue_map_sg function in hw/virtio/virtio.c in QEMU before 1.7.2 allows remote attackers to execute arbitrary files via a crafted s…

published 2020-02-11 6 y ago modified 2026-06-16 4 mo ago also EUVD-2013-4394

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

Summary

The virtqueue_map_sg function in hw/virtio/virtio.c in QEMU before 1.7.2 allows remote attackers to execute arbitrary files via a crafted savevm image, related to virtio-block or virtio-serial read.

Patch / fix

  • qemu qemu 1.7.2
  • qemu Debian 14, Debian 13, Debian 12 2.1+dfsg-1

debian advisories DEBIAN-CVE-2013-4535

  • qemu Ubuntu 14.04 LTS 2.0.0+dfsg-2ubuntu1.3

ubuntu advisories UBUNTU-CVE-2013-4535

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 openstack 5 10:1.5.3-60.el7_0.7
  • qemu-img-rhev openstack 5 10:1.5.3-60.el7_0.7
  • libcacard-rhev openstack 5 10:1.5.3-60.el7_0.7
  • qemu-kvm-tools-rhev openstack 5 10:1.5.3-60.el7_0.7
  • libcacard-devel-rhev openstack 5 10:1.5.3-60.el7_0.7
  • libcacard-tools-rhev openstack 5 10:1.5.3-60.el7_0.7
  • qemu-kvm-common-rhev openstack 5 10:1.5.3-60.el7_0.7
  • qemu-kvm RHEL 7 10:1.5.3-60.el7_0.5

red hat advisories RHSA-2014:1268RHSA-2014:0927RHSA-2014:0888RHSA-2014:0744RHSA-2014:0743RHSA-2014:0674

  • 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-2013-4535 updated cvss 3.7

qemu: virtio: insufficient validation of num_sg when mapping

  • Red Hat Enterprise Linux 5 kvm
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux 6 qemu-kvm-rhev
    affected: no fix available
  • Red Hat Enterprise Linux Client (v. 7) qemu-img 1.5.3-60.el7_0.5, qemu-kvm 1.5.3-60.el7_0.5, libcacard 1.5.3-60.el7_0.5, qemu-kvm-tools 1.5.3-60.el7_0.5, qemu-kvm-common 1.5.3-60.el7_0.5, qemu-guest-agent 1.5.3-60.el7_0.5 Red Hat Enterprise Linux Client Optional (v. 7) libcacard-tools 1.5.3-60.el7_0.5 Red Hat Enterprise Linux ComputeNode (v. 7) qemu-kvm 1.5.3-60.el7_0.5, qemu-guest-agent 1.5.3-60.el7_0.5 Red Hat Enterprise Linux ComputeNode Optional (v. 7) qemu-img 1.5.3-60.el7_0.5, qemu-kvm 1.5.3-60.el7_0.5, libcacard 1.5.3-60.el7_0.5, qemu-kvm-tools 1.5.3-60.el7_0.5, libcacard-tools 1.5.3-60.el7_0.5, qemu-kvm-common 1.5.3-60.el7_0.5
    fixed: vendor fix RHSA-2014:0927
  • Red Hat Enterprise Linux Desktop (v. 6) qemu-img 0.12.1.2-2.415.el6_5.10, qemu-kvm 0.12.1.2-2.415.el6_5.10, qemu-kvm-tools 0.12.1.2-2.415.el6_5.10, qemu-guest-agent 0.12.1.2-2.415.el6_5.10 Red Hat Enterprise Linux HPC Node (v. 6) qemu-img 0.12.1.2-2.415.el6_5.10, qemu-kvm 0.12.1.2-2.415.el6_5.10, qemu-kvm-tools 0.12.1.2-2.415.el6_5.10, qemu-guest-agent 0.12.1.2-2.415.el6_5.10
    fixed: vendor fix RHSA-2014:0743
  • Red Hat Enterprise Linux OpenStack Platform 3.0 qemu-img-rhev 0.12.1.2-2.415.el6_5.10, qemu-kvm-rhev 0.12.1.2-2.415.el6_5.10, qemu-kvm-rhev-tools 0.12.1.2-2.415.el6_5.10 Red Hat Enterprise Linux OpenStack Platform 4.0 qemu-img-rhev 0.12.1.2-2.415.el6_5.10, qemu-kvm-rhev 0.12.1.2-2.415.el6_5.10, qemu-kvm-rhev-tools 0.12.1.2-2.415.el6_5.10
    fixed: vendor fix RHSA-2014:0888
  • Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7 qemu-img-rhev 1.5.3-60.el7_0.7, qemu-kvm-rhev 1.5.3-60.el7_0.7, libcacard-rhev 1.5.3-60.el7_0.7, qemu-kvm-tools-rhev 1.5.3-60.el7_0.7, libcacard-devel-rhev 1.5.3-60.el7_0.7, libcacard-tools-rhev 1.5.3-60.el7_0.7, +1 more
    fixed: vendor fix RHSA-2014:1268
  • Red Hat Enterprise Linux Server (v. 6) qemu-img 0.12.1.2-2.415.el6_5.10, qemu-kvm 0.12.1.2-2.415.el6_5.10, qemu-kvm-tools 0.12.1.2-2.415.el6_5.10, qemu-guest-agent 0.12.1.2-2.415.el6_5.10
    fixed: vendor fix RHSA-2014:0743
  • Red Hat Enterprise Linux Server (v. 7) qemu-img 1.5.3-60.el7_0.5, qemu-kvm 1.5.3-60.el7_0.5, libcacard 1.5.3-60.el7_0.5, qemu-kvm-tools 1.5.3-60.el7_0.5, qemu-kvm-common 1.5.3-60.el7_0.5, qemu-guest-agent 1.5.3-60.el7_0.5 Red Hat Enterprise Linux Server Optional (v. 7) libcacard-tools 1.5.3-60.el7_0.5
    fixed: vendor fix RHSA-2014:0927
show 4 more
  • Red Hat Enterprise Linux Workstation (v. 6) qemu-img 0.12.1.2-2.415.el6_5.10, qemu-kvm 0.12.1.2-2.415.el6_5.10, qemu-kvm-tools 0.12.1.2-2.415.el6_5.10, qemu-guest-agent 0.12.1.2-2.415.el6_5.10
    fixed: vendor fix RHSA-2014:0743
  • Red Hat Enterprise Linux Workstation (v. 7) qemu-img 1.5.3-60.el7_0.5, qemu-kvm 1.5.3-60.el7_0.5, libcacard 1.5.3-60.el7_0.5, qemu-kvm-tools 1.5.3-60.el7_0.5, qemu-kvm-common 1.5.3-60.el7_0.5, qemu-guest-agent 1.5.3-60.el7_0.5 Red Hat Enterprise Linux Workstation Optional (v. 7) libcacard-tools 1.5.3-60.el7_0.5
    fixed: vendor fix RHSA-2014:0927
  • Red Hat RHEV Agents (vdsm) qemu-img-rhev 0.12.1.2-2.415.el6_5.10, qemu-kvm-rhev 0.12.1.2-2.415.el6_5.10, qemu-kvm-rhev-tools 0.12.1.2-2.415.el6_5.10
    fixed: vendor fix RHSA-2014:0744
  • Red Hat RHEV Hypervisor for RHEL-6 rhev-hypervisor6 6.5-20140603.2.el6ev
    fixed: vendor fix RHSA-2014:0674

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.96% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 8.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD 2.0 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C

Affected products

  • n/a QEMU

Classification

Weakness
  • CWE-20 Improper Input Validation

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.