Vulnerabilities · 2018 · Qemu
CVE-2018-12617
Qemu vulnerability
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.
Affected products
Qemu, Ubuntu Linux, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Qemu runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html · Patch
- www.securityfocus.com/bid/104531 · Third Party Advisory
- gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6 · Exploit
- lists.debian.org/debian-lts-announce/2019/02/msg00041.html · Third Party Advisory
- seclists.org/bugtraq/2019/May/76 · Third Party Advisory
- usn.ubuntu.com/3826-1/ · Third Party Advisory
- www.debian.org/security/2019/dsa-4454 · Third Party Advisory
- www.exploit-db.com/exploits/44925/ · Exploit
- nvd.nist.gov/vuln/detail/CVE-2018-12617
- cve.org/CVERecord?id=CVE-2018-12617
More vulnerabilities in Qemu products
CVE-2025-54567CVE-2025-54566CVE-2024-26328CVE-2024-26327CVE-2024-24474CVE-2024-8354CVE-2024-7730CVE-2024-6519All 419
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.