CVE-2024-58400ggml-org llama.cpp
High 8.8 No auth needed
Follow: this CVE · ggml-org · ggml-org llama.cpp We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 4.0
- 8.8
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 52
- Auth required
- No
- Published
- Oct 27, 2026
- Updated
- Oct 27, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-129
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
llama.cpp before b3701 contains an out-of-bounds read vulnerability in llama_decode_internal and llama_encode_internal that allows remote unauthenticated attackers to read memory by supplying unvalidated token IDs. Attackers can send integer-array prompts to the llama-server /completion endpoint with IDs outside 0 to n_vocab to read embedding memory out of bounds or crash the process.
What to do
- Apply the vendor's security update for llama.cpp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- ggml-org · llama.cpp
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.