CVE-2013-4148
NoneCVSS
—
EPSS
4.9%
Published
Nov 4, 2014
CISA due date
—
Cloudanix analysis
A problem in handling certain virtual machine files lets attackers run their own programs on the computer if the file is loaded.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer signedness error in virtio_net_load triggers a buffer overflow when processing a crafted savevm image, enabling remote arbitrary code execution.
Why it matters to the business
Remote code execution in affected virtualized environments risks full host compromise; 98 downstream dependents expand exposure across ecosystems despite low EPSS and no KEV status.
How an attack unfolds
An attacker creates a malicious savevm image and supplies it to trigger the signedness error in virtio_net_load, causing a buffer overflow that allows arbitrary code execution; no named threat actors or ransomware campaigns are associated.
How to fix it
Upgrade affected products to tensorflow (Bitnami) fixed in 2.7.2 or QEMU 1.x to 1.7.2 or later; apply patches promptly given ecosystem prevalence.
How to confirm the fix worked
Confirm upgrade to fixed versions, retest image loading functionality, and verify absence of the vulnerable virtio_net_load code path.
Typical attack path
- Craft a malicious savevm image exploiting the integer signedness flaw
- Deliver the image to a vulnerable QEMU instance
- Trigger virtio_net_load processing to overflow the buffer
- Execute arbitrary code on the host
How to detect it
Review hypervisor and QEMU logs for savevm image load events, monitor for crashes or anomalous process behavior during image restoration, and search historical artifacts for crafted image indicators.
What your security team should do
- Prioritize upgrade to fixed versions across all instances
- Inventory and update the 98 downstream dependents
- Disable unnecessary virtio networking features if patching is delayed
- Monitor EPSS and KEV updates for changes in exploit maturity
The record
Integer signedness error in the virtio_net_load function in hw/net/virtio-net.c in QEMU 1.x before 1.7.2 allows remote attackers to execute arbitrary code via a crafted savevm image, which triggers a buffer overflow.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | qemu | 0 | 2.1+dfsg-1 |
| Debian:11 | qemu | 0 | 2.1+dfsg-1 |
| Debian:12 | qemu | 0 | 2.1+dfsg-1 |
| Debian:13 | qemu | 0 | 2.1+dfsg-1 |
| Mageia:4 | qemu | 0 | 1.6.2-1.2.mga4 |
| Red Hat:enterprise_linux:6::client | qemu-guest-agent | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::client | qemu-img | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::client | qemu-kvm | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::client | qemu-kvm-debuginfo | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::client | qemu-kvm-tools | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::computenode | qemu-guest-agent | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::computenode | qemu-img | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::computenode | qemu-kvm | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::computenode | qemu-kvm-debuginfo | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::computenode | qemu-kvm-tools | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::hypervisor | qemu-img-rhev | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::hypervisor | qemu-kvm-rhev | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::hypervisor | qemu-kvm-rhev-debuginfo | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::hypervisor | qemu-kvm-rhev-tools | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::hypervisor | rhev-hypervisor6 | 0 | 0:6.5-20140603.2.el6ev |
| Red Hat:enterprise_linux:6::server | qemu-guest-agent | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::server | qemu-img | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::server | qemu-kvm | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::server | qemu-kvm-debuginfo | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::server | qemu-kvm-tools | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::workstation | qemu-guest-agent | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::workstation | qemu-img | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::workstation | qemu-kvm | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::workstation | qemu-kvm-debuginfo | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:6::workstation | qemu-kvm-tools | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:enterprise_linux:7::client | libcacard | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::client | libcacard-devel | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::client | libcacard-tools | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::client | qemu-guest-agent | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::client | qemu-img | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::client | qemu-kvm | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::client | qemu-kvm-common | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::client | qemu-kvm-debuginfo | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::client | qemu-kvm-tools | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::computenode | libcacard | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::computenode | libcacard-devel | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::computenode | libcacard-tools | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::computenode | qemu-guest-agent | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::computenode | qemu-img | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::computenode | qemu-kvm | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::computenode | qemu-kvm-common | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::computenode | qemu-kvm-debuginfo | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::computenode | qemu-kvm-tools | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::server | libcacard | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::server | libcacard-devel | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::server | libcacard-tools | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::server | qemu-guest-agent | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::server | qemu-img | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::server | qemu-kvm | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::server | qemu-kvm-common | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::server | qemu-kvm-debuginfo | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::server | qemu-kvm-tools | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::workstation | libcacard | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::workstation | libcacard-devel | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::workstation | libcacard-tools | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::workstation | qemu-guest-agent | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::workstation | qemu-img | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::workstation | qemu-kvm | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::workstation | qemu-kvm-common | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::workstation | qemu-kvm-debuginfo | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:enterprise_linux:7::workstation | qemu-kvm-tools | 0 | 10:1.5.3-60.el7_0.5 |
| Red Hat:openstack:3::el6 | qemu-img-rhev | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:openstack:3::el6 | qemu-kvm-rhev | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:openstack:3::el6 | qemu-kvm-rhev-debuginfo | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:openstack:3::el6 | qemu-kvm-rhev-tools | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:openstack:4::el6 | qemu-img-rhev | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:openstack:4::el6 | qemu-kvm-rhev | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:openstack:4::el6 | qemu-kvm-rhev-debuginfo | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:openstack:4::el6 | qemu-kvm-rhev-tools | 0 | 2:0.12.1.2-2.415.el6_5.10 |
| Red Hat:openstack:5::el7 | libcacard-devel-rhev | 0 | 10:1.5.3-60.el7_0.7 |
| Red Hat:openstack:5::el7 | libcacard-rhev | 0 | 10:1.5.3-60.el7_0.7 |
| Red Hat:openstack:5::el7 | libcacard-tools-rhev | 0 | 10:1.5.3-60.el7_0.7 |
| Red Hat:openstack:5::el7 | qemu-img-rhev | 0 | 10:1.5.3-60.el7_0.7 |
| Red Hat:openstack:5::el7 | qemu-kvm-common-rhev | 0 | 10:1.5.3-60.el7_0.7 |
| Red Hat:openstack:5::el7 | qemu-kvm-rhev | 0 | 10:1.5.3-60.el7_0.7 |
| Red Hat:openstack:5::el7 | qemu-kvm-rhev-debuginfo | 0 | 10:1.5.3-60.el7_0.7 |
| Red Hat:openstack:5::el7 | qemu-kvm-tools-rhev | 0 | 10:1.5.3-60.el7_0.7 |
| Ubuntu:14.04:LTS | qemu | 0 | 2.0.0+dfsg-2ubuntu1.3 |
| openSUSE:Tumbleweed | qemu | 0 | 2.6.1-1.5 |
Related vulnerabilities
- CVE-2022-1050 A flaw was found in the QEMU implementation of VMWare's paravirtual RDMA device. Also affects qemu
- CVE-2016-10028 The virgl_cmd_get_capset function in hw/display/virtio-gpu-3d.c in QEMU (aka Quick… Also affects qemu
- CVE-2014-9718 The (1) BMDMA and (2) AHCI HBA interfaces in the IDE functionality in QEMU 1.0 through… Also affects qemu
- CVE-2014-7840 The host_from_stream_offset function in arch_init.c in QEMU, when loading RAM during… Also affects qemu
- CVE-2024-7730 A heap buffer overflow was found in the virtio-snd device in QEMU. Also affects qemu
- CVE-2024-3447 A heap-based buffer overflow was found in the SDHCI device emulation of QEMU. Also affects qemu
- CVE-2024-6519 A use-after-free vulnerability was found in the QEMU LSI53C895A SCSI Host Bus Adapter… Also affects qemu
- CVE-2024-8612 A flaw was found in QEMU, in the virtio-scsi, virtio-blk, and virtio-crypto devices. Also affects qemu