Vulnerability

CVE-2024-32878

highCVSS 3.1 8.8Published 26 Apr 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Ggml llama.cpp

Weakness type

References

  • github.com /ggerganov/llama.cpp/releases/tag/b2749
  • github.com /ggerganov/llama.cpp/security/advisories/GHSA-p5mv-gjc5-mwqv

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning