What’s Vulnerable › Vulnerabilities
CVE-2024-42477: llama.cpp global-buffer-overflow in ggml_type_size
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-12 · updated 2026-06-17
- Weakness: CWE-125
Description
llama.cpp provides LLM inference in C/C++. The unsafe `type` member in the `rpc_tensor` structure can cause `global-buffer-overflow`. This vulnerability may lead to memory data leakage. The vulnerability is fixed in b3561.
Affected products
- ggml-org llama.cpp: before b3561 — fixed in b3561
How to fix
Upgrade to a fixed version: ggml-org llama.cpp b3561. Check the vendor advisory for mitigations.
References
- https://github.com/ggerganov/llama.cpp/commit/b72942fac998672a79a1ae3c03b340f7e629980b
- https://github.com/ggerganov/llama.cpp/security/advisories/GHSA-mqp6-7pv6-fqjf
Get alerted when CVE-2024-42477 or the next vulnerability affects your stack