What’s Vulnerable › Vulnerabilities
CVE-2024-42478: llama.cpp allows Arbitrary Address Read in rpc_server::get_tensor
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-08-12 · updated 2026-06-17
- Weakness: CWE-125
Description
llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause arbitrary address reading. This 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-5vm9-p64x-gqw9
Get alerted when CVE-2024-42478 or the next vulnerability affects your stack