{"id":"CVE-2018-12617","published":"2018-06-21T18:00:00Z","modified":"2024-08-05T08:38:06Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.24595,"percentile":0.97931,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/3826-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/104531","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.exploit-db.com/exploits/44925/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://www.debian.org/security/2019/dsa-4454","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://seclists.org/bugtraq/2019/May/76","tags":["mailing-list","x_refsource_BUGTRAQ"]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":19.59},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2018-06-22"},"first":{"date":"2018-06-22","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/44925"},"provenance":"source"},"summary":{"text":"The qmp_guest_file_read function in the QEMU Guest Agent (qemu-ga) in QEMU 2.12.50 has an integer overflow in qga/commands-posix.c and qga/commands-win32.c, which causes a g_malloc0() call to fault when it tries to allocate a large memory chunk. An attacker who can send a crafted QMP command, such as guest-file-read with a large count value, to the agent's listening socket can trigger the crash.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:45:11Z"},"euvd":{"id":"EUVD-2018-4573","exploited":false,"provenance":"source"},"exploits":[{"id":44925,"url":"https://www.exploit-db.com/exploits/44925","title":"QEMU Guest Agent 2.12.50 - Denial of Service","date":"2018-06-22","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/44925/"]}