CVE-2024-32878
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
26/04/2024
Last modified:
02/09/2025
Description
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.<br />
Impact
Base Score 3.x
7.10
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:* | b2715 (including) | b2740 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



