CVE-2024-32878
HIGH EPSS 48.4%
Published Apr 26, 20242y ago · Modified Jun 17, 20262w ago
8.8 CVSS 3.1
Published Apr 26, 2024 2y ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
48.4% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 1
CWE-456
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| ggml | llama.cpp | * | ≥b2715 – <b2740 |
References 2
- github.com https://github.com/ggerganov/llama.cpp/releases/tag/b2749
- github.com https://github.com/ggerganov/llama.cpp/security/advisories/GHSA-p5mv-gjc5-mwqv
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.