CVE-2018-12617
Fixed in a distro release EPSS 25%
qmp_guest_file_read in qga/commands-posix.c and qga/commands-win32.c in qemu-ga (aka QEMU Guest Agent) in QEMU 2.12.50 has an integer overflow causing a g_malloc0() call to trigger a segmentation fault when trying to allocate a large memory chunk. The vulnerability can be exploited by sending a crafted QMP command (including guest-file-read with a large count value) to the agent via the listening socket.
Products: qemu, canonical ubuntu_linux, debian_linux
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | qemu | 1:3.1+dfsg-1 |
| Debian 13 | qemu | 1:3.1+dfsg-1 |
| Debian 14 | qemu | 1:3.1+dfsg-1 |
| Debian 8 | qemu | 1:2.1+dfsg-12+deb8u10 |
| Debian 9 | qemu | 1:2.8+dfsg-6+deb9u6 |
| SUSE Enterprise Storage 4 | qemu | 2.6.2-41.43.3 |
| SUSE Linux Enterprise Desktop 12 SP3 | qemu | 2.9.1-6.19.11 |
| SUSE Linux Enterprise Module for Basesystem 15 | qemu | 2.11.2-9.9.1 |
| SUSE Linux Enterprise Module for Server Applications 15 | qemu | 2.11.2-9.9.1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | kvm | 1.4.2-53.23.2 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | xen | 4.2.5_21-45.25.1 |
| SUSE Linux Enterprise Server 11 SP3-LTSS | kvm | 1.4.2-53.23.2 |
| SUSE Linux Enterprise Server 11 SP3-LTSS | xen | 4.2.5_21-45.25.1 |
| SUSE Linux Enterprise Server 11 SP3-TERADATA | kvm | 1.4.2-53.23.2 |
| SUSE Linux Enterprise Server 11 SP4 | kvm | 1.4.2-60.15.2 |
| SUSE Linux Enterprise Server 11 SP4 | xen | 4.4.4_34-61.32.1 |
| SUSE Linux Enterprise Server 12 SP1-LTSS | qemu | 2.3.1-33.12.1 |
| SUSE Linux Enterprise Server 12 SP1-LTSS | xen | 4.5.5_24-22.52.3 |
| SUSE Linux Enterprise Server 12 SP2-BCL | qemu | 2.6.2-41.43.3 |
| SUSE Linux Enterprise Server 12 SP2-LTSS | qemu | 2.6.2-41.43.3 |
| SUSE Linux Enterprise Server 12 SP3 | qemu | 2.9.1-6.19.11 |
| SUSE Linux Enterprise Server 12-LTSS | qemu | 2.0.2-48.43.3 |
| SUSE Linux Enterprise Server 12-LTSS | xen | 4.4.4_34-22.71.2 |
| SUSE Linux Enterprise Server for SAP Applications 11 SP4 | kvm | 1.4.2-60.15.2 |
| SUSE Linux Enterprise Server for SAP Applications 11 SP4 | xen | 4.4.4_34-61.32.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP1 | qemu | 2.3.1-33.12.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP1 | xen | 4.5.5_24-22.52.3 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | qemu | 2.6.2-41.43.3 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | qemu | 2.9.1-6.19.11 |
| SUSE Linux Enterprise Software Development Kit 11 SP4 | xen | 4.4.4_34-61.32.1 |
| SUSE OpenStack Cloud 7 | qemu | 2.6.2-41.43.3 |
| Ubuntu 14.04 LTS | qemu | 2.0.0+dfsg-2ubuntu1.44 |
| Ubuntu 16.04 LTS | qemu | 1:2.5+dfsg-5ubuntu10.33 |
| Ubuntu 18.04 LTS | qemu | 1:2.11+dfsg-1ubuntu7.8 |