Live threats

All CVEs / Ggml

CVE-2024-32878Ggml Llama.cpp

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
0.9%
probability of exploitation in 30 days · percentile 60
Auth required
No
Published
Apr 26, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-456
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Llama.cpp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ggmlllama.cpp≥ b2715 < b2740

Official sources

References

Links published by the sources. Open them with care.