CVE-2024-42478: llama.cpp allows Arbitrary Address Read in rpc_server::get_tensor
Vulnerability summary
CVE-2024-42478 is a critical (CVSS 9.8) Out-of-bounds Read vulnerability in ggerganov llama.cpp. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 49.5% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 12-08-2024PublishedVulnerability first disclosed.
- 16-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NDiffers
EPSS trend
Probability
0.60%
Chance of exploitation in the next 30 days
Percentile
50%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.60% on 21-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundLlama.Cpp
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ggerganov1 product
- llama.cpp< b3561
Ggml1 product
- llama.cpp< b3561
2 vendors · 2 products
References
2 links- github.com/ggerganov/llama.cpp/security/advisories/GHSA-5vm9-p64x-gqw9X Refsource CONFIRMExploitVendor Advisory