CVE-2018-12617: canonical ubuntu_linux Integer Overflow or Wraparound
Vulnerability summary
CVE-2018-12617 is a high (CVSS 7.5) Integer Overflow or Wraparound vulnerability in canonical ubuntu_linux. EPSS estimates a 24.59% chance of exploitation in the next 30 days, higher than 97.8% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (exploit-database, 22-06-2018)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 14 · Related 12Timeline
- 21-06-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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 metrics
5 scores · 3 sources · 3 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
24.59%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
Decrease -0.46 pp
From 25.05% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundC7740D28Efa07Dafee66D4Da5D857Ef6
Maturity: poc
QEMU Guest Agent 2.12.50 - Denial of Service
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- qemu< 1:3.1+dfsg-1
- debian_linuxEOL8.0 | 9.0
Suse2 products
- qemu&distro=SUSE Linux Enterprise Module for Basesystem 15< 2.11.2-9.9.1
- qemu&distro=SUSE Linux Enterprise Module for Server Applications 15< 2.11.2-9.9.1
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 18.04 | 18.10
Qemu1 product
- qemu≤ 2.12.50
Ubuntu1 product
- qemu< 2.0.0+dfsg-2ubuntu1.44 | < 1:2.5+dfsg-5ubuntu10.33 | < 1:2.11+dfsg-1ubuntu7.8
5 vendors · 7 products
References
19 links- lists.debian.org/debian-lts-announce/2019/02/msg00041.htmlMailing ListX Refsource MLISTThird Party Advisory
- gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6X Refsource MISCExploitThird Party AdvisoryREPORT
- lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.htmlX Refsource MISCMailing ListPatchThird Party AdvisoryREPORT