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.
Conclusion & alert: CVE-2024-32878 is rated Moderate Risk (45.6/100): CVSS High severity, with low exploitation likelihood (EPSS 0.70%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.27% | 0.70% | +0.43% |
| 2 | 2026-05-15 | 0.21% | 0.27% | +0.06% |
| 3 | 2025-11-21 | — | 0.21% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.1 | 3.1 | HIGH |
|
1.6 | 5.5 | [email protected] |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2024-32878 unimportant priority: Debian including 1 source packages (llama.cpp), 2 status rows across 2 suites (forky, sid): resolved 2. | https://security-tracker.debian.org/tracker/CVE-2024-32878 |
| URL | Tags |
|---|---|
| https://github.com/ggerganov/llama.cpp/releases/tag/b2749 | Release Notes |
| https://github.com/ggerganov/llama.cpp/security/advisories/GHSA-p5mv-gjc5-mwqv | Vendor Advisory |