CVE-2018-12617
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.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 25.1%, higher than 98% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 25.05% probability · 98th percentile
- Public exploits
- 1 in Exploit-DB · first 22 June 2018
- CISA KEV
- Not listed
- Weakness
- CWE-190
- Affected
- qemu/qemu · canonical/ubuntu linux · debian/debian linux
- Source
- cve@mitre.org
EPSS 25.1% since 27 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://www.securityfocus.com/bid/104531Third Party Advisory, VDB Entry
- https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/02/msg00041.htmlMailing List, Third Party Advisory
- https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.htmlMailing List, Patch, Third Party Advisory
- https://seclists.org/bugtraq/2019/May/76Mailing List, Third Party Advisory
- https://usn.ubuntu.com/3826-1/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4454Third Party Advisory
- https://www.exploit-db.com/exploits/44925/Exploit, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/104531Third Party Advisory, VDB Entry
- https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/02/msg00041.htmlMailing List, Third Party Advisory
- https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.htmlMailing List, Patch, Third Party Advisory
- https://seclists.org/bugtraq/2019/May/76Mailing List, Third Party Advisory
- https://usn.ubuntu.com/3826-1/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4454Third Party Advisory
- https://www.exploit-db.com/exploits/44925/Exploit, Third Party Advisory, VDB Entry
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.