CVE-2013-4535: Input Validation

Published Feb 18, 2014
·
Updated

Both virtio-block and virtio-serial read, VirtQueueElements are read in as buffers, and passed to virtqueuemapsg(), where numsg is taken from the wire and can force writes to indicies beyond VIRTQUEUEMAXSIZE.

An user able to alter the savevm data (either on the disk or over the wire during migration) could use this flaw to to corrupt QEMU process memory on the (destination) host, which could potentially result in arbitrary code execution on the host with the privileges of the QEMU process.

Upstream fix: ------------- -> http://git.qemu.org/?p=qemu.git;a=commit;h=36cf2a37132c7f01fa9adb5f95f5312b27742fd4

Other sources

The virtqueuemapsg 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.

MITRE

Affected Software

7 affected componentsFixes available
redhat/qemu-kvm<1.5.3
1.5.3
Qemu Qemu<1.7.2
redhat Virtualization=3.0
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server Tus=6.5
redhat Enterprise Linux Workstation=6.0

Event History

Feb 11, 2020
CVE Published
via MITRE·03:35 PM
Data Sourced
via MITRE·03:35 PM
DescriptionWeakness

Frequently Asked Questions

1

What is the severity of CVE-2013-4535?

CVE-2013-4535 has a high severity level, potentially allowing for memory corruption due to out-of-bounds writes.

2

How do I fix CVE-2013-4535?

To fix CVE-2013-4535, upgrade to QEMU version 1.5.3 or later, ensuring the system is using compatible software versions.

3

Which software is affected by CVE-2013-4535?

CVE-2013-4535 affects QEMU KVM versions up to 1.7.2, as well as specific versions of Red Hat Enterprise Virtualization and Red Hat Enterprise Linux.

4

Can CVE-2013-4535 lead to system exploits?

Yes, CVE-2013-4535 can potentially be exploited to execute arbitrary code through specially crafted input.

5

Is there a patch available for CVE-2013-4535?

Yes, patches addressing CVE-2013-4535 have been included in subsequent updates of affected packages.

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