CVE-2018-12617

Public Exploit

Description

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.

Category

7.5
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 45.67% Top 5%
Vendor Advisory ubuntu.com Vendor Advisory debian.org
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html third party advisory mailing list
https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6 third party advisory exploit
https://usn.ubuntu.com/3826-1/ third party advisory vendor advisory
https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html mailing list third party advisory patch
http://www.securityfocus.com/bid/104531 vdb entry third party advisory
https://www.exploit-db.com/exploits/44925/ exploit vdb entry third party advisory
https://www.debian.org/security/2019/dsa-4454 third party advisory vendor advisory
https://seclists.org/bugtraq/2019/May/76 third party advisory mailing list

Frequently Asked Questions

What is the severity of CVE-2018-12617?
CVE-2018-12617 has been scored as a high severity vulnerability.
How to fix CVE-2018-12617?
To fix CVE-2018-12617, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2018-12617 being actively exploited in the wild?
It is possible that CVE-2018-12617 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~46% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.