UBUNTU-CVE-2018-12617

    Dashboard / Vulnerabilities / UBUNTU-CVE-2018-12617

    UBUNTU-CVE-2018-12617

    Published: 21 Jun 2018Last Modified: 4 Feb 2026
    Upstream:
    Aliases:

    Summary:

    Details: 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 packages

    Package

    Name: qemu

    Purl: pkg:deb/ubuntu/[email protected]+dfsg-2ubuntu1.44?arch=source&distro=trusty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.0.0+dfsg-2ubuntu1.44

    Affected versions

    1.5.0+dfsg-3ubuntu5
    1.5.0+dfsg-3ubuntu6

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High