VYPR
Unrated severityNVD Advisory· Published Apr 26, 2024· Updated Aug 2, 2024

Use of Uninitialized Variable Vulnerability in llama.cpp

CVE-2024-32878

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

2
  • Ggerganov/Llama.cppllm-fuzzy2 versions
    < commit b2740+ 1 more
    • (no CPE)range: < commit b2740
    • (no CPE)range: <= b2715

Patches

Vulnerability mechanics

References

2

News mentions

0

No linked articles in our index yet.