Integer overflow in Qemu
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. 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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.251 (97.9th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 97.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.251 · newest: 0.251 · change: 0.000
Affected products
- Qemu
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 8.0, 9.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- lists.debian.org/debian-lts-announce/2019/02/msg00041.html (mailing-list, Mailing List, Third Party Advisory)
- gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6 (Exploit, Third Party Advisory)
- usn.ubuntu.com/3826-1/ (vendor-advisory, Third Party Advisory)
- lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html (Patch, Mailing List, Third Party Advisory)
- www.securityfocus.com/bid/104531 (VDB Entry, Third Party Advisory, vdb-entry)
- www.exploit-db.com/exploits/44925/ (Exploit, VDB Entry, Third Party Advisory, exploit)
- www.debian.org/security/2019/dsa-4454 (vendor-advisory, Third Party Advisory)
- seclists.org/bugtraq/2019/May/76 (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-12617?
- CVE-2018-12617 is a high-severity vulnerability in Qemu, classified under Integer Overflow or Wraparound. CVSS score: 7.5/10. Published 2018-06-21.
- How severe is CVE-2018-12617?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2018-12617 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.