{"id":"CVE-2018-12617","state":"PUBLISHED","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 has an integer overflow causing a g_malloc0() call to trigger","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.","publishedAt":"2018-06-21T18:00:00.000Z","updatedAt":"2024-08-05T08:38:06.342Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html","https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6","https://usn.ubuntu.com/3826-1/","https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html","http://www.securityfocus.com/bid/104531","https://www.exploit-db.com/exploits/44925/","https://www.debian.org/security/2019/dsa-4454","https://seclists.org/bugtraq/2019/May/76"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:15.404Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/12xxx/CVE-2018-12617.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-12617","state":"PUBLISHED","datePublished":"2018-06-21T18:00:00.000Z","dateUpdated":"2024-08-05T08:38:06.342Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-06-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html","name":"[debian-lts-announce] 20190228 [SECURITY] [DLA 1694-1] qemu security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/3826-1/","name":"USN-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","name":"104531","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.exploit-db.com/exploits/44925/","name":"44925","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://www.debian.org/security/2019/dsa-4454","name":"DSA-4454","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://seclists.org/bugtraq/2019/May/76","name":"20190531 [SECURITY] [DSA 4454-1] qemu security update","tags":["mailing-list","x_refsource_BUGTRAQ"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-05-31T13:06:05.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2018-06-21T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-12617","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"[debian-lts-announce] 20190228 [SECURITY] [DLA 1694-1] qemu security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html"},{"name":"https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6","refsource":"MISC","url":"https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6"},{"name":"USN-3826-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3826-1/"},{"name":"https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html","refsource":"MISC","url":"https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html"},{"name":"104531","refsource":"BID","url":"http://www.securityfocus.com/bid/104531"},{"name":"44925","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/44925/"},{"name":"DSA-4454","refsource":"DEBIAN","url":"https://www.debian.org/security/2019/dsa-4454"},{"name":"20190531 [SECURITY] [DSA 4454-1] qemu security update","refsource":"BUGTRAQ","url":"https://seclists.org/bugtraq/2019/May/76"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html","name":"[debian-lts-announce] 20190228 [SECURITY] [DLA 1694-1] qemu security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://usn.ubuntu.com/3826-1/","name":"USN-3826-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.securityfocus.com/bid/104531","name":"104531","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/44925/","name":"44925","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"https://www.debian.org/security/2019/dsa-4454","name":"DSA-4454","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://seclists.org/bugtraq/2019/May/76","name":"20190531 [SECURITY] [DSA 4454-1] qemu security update","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T08:38:06.342Z"}}]}}}