cve.bz

CVE-2018-12617 Year 2038 problem, Y2K38, Y2038, Epochalypse

7.5 highExploitEPSS 25%Fix available

High (7.5). EPSS 25% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
25% (unchanged from 25% a week ago; 25% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-12617 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-12617?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-12617?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-12617 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
qemu:qemuthrough 2.12.50
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
debian:debian_linux8.0
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8qemu1:2.1+dfsg-12+deb8u10DLA-1694-1
Debian9qemu1:2.8+dfsg-6+deb9u6DSA-4454-1
Debian12, 13, 14qemu1:3.1+dfsg-1DEBIAN-CVE-2018-12617
Ubuntu14.04:LTSqemu2.0.0+dfsg-2ubuntu1.44UBUNTU-CVE-2018-12617 USN-3826-1
Ubuntu16.04:LTSqemu1:2.5+dfsg-5ubuntu10.33UBUNTU-CVE-2018-12617 USN-3826-1
Ubuntu18.04:LTSqemu1:2.11+dfsg-1ubuntu7.8UBUNTU-CVE-2018-12617 USN-3826-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 moreqemu2.6.2-41.43.3SUSE-SU-2018:2973-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3qemu2.9.1-6.19.11SUSE-SU-2018:3555-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Server Applications 15qemu2.11.2-9.9.1SUSE-SU-2018:2679-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSSxen4.2.5_21-45.25.1SUSE-SU-2018:2528-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATAkvm1.4.2-53.23.2SUSE-SU-2018:2615-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4kvm1.4.2-60.15.2SUSE-SU-2018:2650-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4xen4.4.4_34-61.32.1SUSE-SU-2018:2037-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server for SAP Applications 12 SP1qemu2.3.1-33.12.1SUSE-SU-2018:2565-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server for SAP Applications 12 SP1xen4.5.5_24-22.52.3SUSE-SU-2018:2069-1
SUSELinux Enterprise Server 12 SP2-BCLqemu2.6.2-41.43.3SUSE-SU-2018:2973-2
SUSELinux Enterprise Server 12-LTSSqemu2.0.2-48.43.3SUSE-SU-2018:2556-1
SUSELinux Enterprise Server 12-LTSSxen4.4.4_34-22.71.2SUSE-SU-2018:2056-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6qemu-kvmFix deferred
Red Hat Enterprise Linux 6virtio-winFix deferred
Red Hat Enterprise Linux 7qemu-guest-agentFix deferred
Red Hat Enterprise Linux 7qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvm-maNot affected
Red Hat Enterprise Linux 7qemu-kvm-rhevNot affected
Red Hat Enterprise Linux 7virtio-winWill not fix
Red Hat Enterprise Linux 8qemu-kvmNot affected
Red Hat Enterprise Linux 8virtio-winNot affected
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo)qemu-kvm-rhevNot affected
Red Hat OpenStack Platform 10 (Newton)qemu-kvm-rhevNot affected
Red Hat OpenStack Platform 12 (Pike)qemu-kvm-rhevNot affected
Red Hat OpenStack Platform 13 (Queens)qemu-kvm-rhevNot affected
Red Hat OpenStack Platform 8 (Liberty)qemu-kvm-rhevNot affected
Red Hat OpenStack Platform 9 (Mitaka)qemu-kvm-rhevNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-12617.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON