CVE Feed

    Dashboard / CVE / CVE-2024-32878

    CVE-2024-32878

    Llama.cpp is LLM inference in C/C++. There is a use of uninitialized heap variable vulnerability in gguf_init_from_file, the code will free this uninitialized variable later. In a simple POC, it will directly cause a crash. If the file is carefully constructed, it may be possible to control this uninitialized value and cause arbitrary address free problems. This may further lead to be exploited. Causes llama.cpp to crash (DoS) and may even lead to arbitrary code execution (RCE). This vulnerability has been patched in commit b2740.

    Published:Apr 26, 2024
    Last Modified:Sep 2, 2025
    EPS:Apr 26, 2024
    EPSS Score:0.00205
    CVSS Score:7.1

    Affected Products

    Vendor
    Ggerganov
    Product
    Llama.cpp
    Vendor
    Ggml
    Product
    Llama.cpp

    Exploits

    No exploit reference

    Common Attack Pattern Enumeration and Classification (CAPEC)

    No CAPEC recorded yet

    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