llama.cpp before b3701 contains an out-of-bounds read vulnerability in llama_decode_internal and llama_encode_internal that allows remote…
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.
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Ggml-Org
- Product
- llama.cpp
- CVSS v3.1
- 8.2 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
- Weakness
- CWE-129
- Exposure class
- AI infrastructure
- NVD status
- Received
Why it ranks 15 (Routine)
- CVSS v3.1 8.2 high
- Product class: AI infrastructure
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.
Links
- NIST National Vulnerability Database (CVE API 2.0) (nvd.nist.gov)
- CVE-2024-58400 on this site · NVD · CVE.org · Vulnpedia