Qemu: qemu-guest-agent: Integer overflow causes segmentation fault in qmp_guest_file_read()
Published Jun 21, 2018
7.5
HIGHCVSS 3.1
EPSS 25.05%
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.
Affected products
No data.
Configuration 2
- 14.04
- 16.04
- 18.04
- 18.10
Configuration 3
- 8.0
- 9.0
No data.
Red Hat Enterprise Linux 6
qemu-kvm
Fix deferred
Red Hat Enterprise Linux 6
virtio-win
Fix deferred
Red Hat Enterprise Linux 7
qemu-guest-agent
Fix deferred
Red Hat Enterprise Linux 7
qemu-kvm
Not affected
Red Hat Enterprise Linux 7
qemu-kvm-ma
Not affected
Red Hat Enterprise Linux 7
qemu-kvm-rhev
Not affected
Red Hat Enterprise Linux 7
virtio-win
Will not fix
Red Hat Enterprise Linux 8
qemu-kvm
Not affected
Red Hat Enterprise Linux 8
virtio-win
Not affected
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo)
qemu-kvm-rhev
Not affected
Red Hat OpenStack Platform 10 (Newton)
qemu-kvm-rhev
Not affected
Red Hat OpenStack Platform 12 (Pike)
qemu-kvm-rhev
Not affected
Red Hat OpenStack Platform 13 (Queens)
qemu-kvm-rhev
Not affected
Red Hat OpenStack Platform 8 (Liberty)
qemu-kvm-rhev
Not affected
Red Hat OpenStack Platform 9 (Mitaka)
qemu-kvm-rhev
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | qemu-kvm | Fix deferred | n/a |
| Red Hat Enterprise Linux 6 | virtio-win | Fix deferred | n/a |
| Red Hat Enterprise Linux 7 | qemu-guest-agent | Fix deferred | n/a |
| Red Hat Enterprise Linux 7 | qemu-kvm | Not affected | n/a |
| Red Hat Enterprise Linux 7 | qemu-kvm-ma | Not affected | n/a |
| Red Hat Enterprise Linux 7 | qemu-kvm-rhev | Not affected | n/a |
| Red Hat Enterprise Linux 7 | virtio-win | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | qemu-kvm | Not affected | n/a |
| Red Hat Enterprise Linux 8 | virtio-win | Not affected | n/a |
| Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) | qemu-kvm-rhev | Not affected | n/a |
| Red Hat OpenStack Platform 10 (Newton) | qemu-kvm-rhev | Not affected | n/a |
| Red Hat OpenStack Platform 12 (Pike) | qemu-kvm-rhev | Not affected | n/a |
| Red Hat OpenStack Platform 13 (Queens) | qemu-kvm-rhev | Not affected | n/a |
| Red Hat OpenStack Platform 8 (Liberty) | qemu-kvm-rhev | Not affected | n/a |
| Red Hat OpenStack Platform 9 (Mitaka) | qemu-kvm-rhev | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (40 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 25.05% (0.25054) | 97.87th | v5 (v2026.06.15) |
| Jun 15, 2026 | 25.35% (0.25348) | 97.66th | v5 (v2026.06.15) |
| Jan 6, 2026 | 10.99% (0.10988) | 93.18th | v4 (v2025.03.14) |
| Dec 28, 2025 | 14.19% (0.14194) | 94.16th | v4 (v2025.03.14) |
| Dec 27, 2025 | 15.81% (0.15811) | 94.54th | v4 (v2025.03.14) |
| Dec 7, 2025 | 14.19% (0.14194) | 94.11th | v4 (v2025.03.14) |
| Dec 2, 2025 | 18.13% (0.18132) | 94.96th | v4 (v2025.03.14) |
| Nov 21, 2025 | 12.69% (0.12692) | 93.70th | v4 (v2025.03.14) |
| Nov 18, 2025 | 43.15% (0.43150) | 97.34th | v4 (v2025.03.14) |
| Oct 28, 2025 | 12.69% (0.12692) | 93.67th | v4 (v2025.03.14) |
| Oct 27, 2025 | 14.17% (0.14173) | 94.10th | v4 (v2025.03.14) |
| Oct 12, 2025 | 12.69% (0.12692) | 93.64th | v4 (v2025.03.14) |
| Oct 1, 2025 | 14.14% (0.14142) | 94.17th | v4 (v2025.03.14) |
| Sep 20, 2025 | 15.75% (0.15754) | 94.49th | v4 (v2025.03.14) |
| Sep 16, 2025 | 34.02% (0.34019) | 96.84th | v4 (v2025.03.14) |
| Aug 20, 2025 | 29.98% (0.29985) | 96.48th | v4 (v2025.03.14) |
| Aug 18, 2025 | 34.50% (0.34502) | 96.85th | v4 (v2025.03.14) |
| May 21, 2025 | 46.50% (0.46504) | 97.50th | v4 (v2025.03.14) |
| Mar 30, 2025 | 35.70% (0.35697) | 96.75th | v4 (v2025.03.14) |
| Mar 29, 2025 | 34.16% (0.34160) | 95.30th | v4 (v2025.03.14) |
| Mar 17, 2025 | 35.70% (0.35697) | 96.71th | v4 (v2025.03.14) |
| Dec 17, 2024 | 5.58% (0.05578) | 93.15th | v3 (v2023.03.01) |
| Sep 24, 2024 | 10.49% (0.10486) | 95.12th | v3 (v2023.03.01) |
| Nov 12, 2023 | 14.12% (0.14117) | 95.12th | v3 (v2023.03.01) |
| Sep 30, 2023 | 11.97% (0.11970) | 94.67th | v3 (v2023.03.01) |
| Jul 20, 2023 | 16.00% (0.16005) | 95.23th | v3 (v2023.03.01) |
| Jul 8, 2023 | 16.28% (0.16277) | 95.25th | v3 (v2023.03.01) |
| Jul 3, 2023 | 18.74% (0.18740) | 95.51th | v3 (v2023.03.01) |
| Jun 15, 2023 | 19.00% (0.18997) | 95.52th | v3 (v2023.03.01) |
| May 31, 2023 | 21.38% (0.21378) | 95.70th | v3 (v2023.03.01) |
| May 13, 2023 | 20.45% (0.20454) | 95.63th | v3 (v2023.03.01) |
| May 8, 2023 | 15.80% (0.15805) | 95.08th | v3 (v2023.03.01) |
| Mar 7, 2023 | 13.65% (0.13651) | 94.68th | v3 (v2023.03.01) |
| Mar 6, 2023 | 10.80% (0.10800) | 94.68th | v2 (v2022.01.01) |
| Apr 1, 2022 | 10.80% (0.10800) | 94.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 10.80% (0.10800) | 87.78th | v2 (v2022.01.01) |
| Feb 3, 2022 | 7.85% (0.07855) | 85.01th | v1 |
| Jan 6, 2022 | 7.85% (0.07855) | 84.84th | v1 |
| Sep 1, 2021 | 7.85% (0.07855) | 92.31th | v1 |
| Apr 14, 2021 | 7.85% (0.07855) | 0.00th | v1 |
References (12)
- http://www.securityfocus.com/bid/104531 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2018-12617 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1594054 Issue Tracking
- https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6 x_refsource_MISCExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html x_refsource_MISCMailing ListPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-12617
- https://seclists.org/bugtraq/2019/May/76 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://usn.ubuntu.com/3826-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-12617
- https://www.debian.org/security/2019/dsa-4454 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.exploit-db.com/exploits/44925/ exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
Change history (0)
No recorded changes yet.