Live threats

All CVEs / Qemu

CVE-2018-12617Qemu

High 7.5 No auth neededHigh EPSS

Priority
62
CVSS 3.1
7.5
EPSS
24.6%
probability of exploitation in 30 days · percentile 98
Auth required
No
Published
Jun 21, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Qemu.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
qemuqemu≤ 2.12.50
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux18.10
debiandebian_linux8.0
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.