CVE-2024-32878

7.1
HIGHCVSS v3.1 Base Score
0.70%
LOW RiskEPSS (51st percentile)

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: 4/26/2024
Modified: 6/17/2026
Back to CVE Lookup

Vulnerability Summary

CVSS v3 Score

7.1HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L

EPSS Score (Exploitation Probability)

0.70%LOW Exploitation Risk
51st percentile

This vulnerability has a 0.70% probability of being exploited in the next 30 days, ranking higher than 51% of all scored CVEs.

CWE Classification

Advertisement