This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page.
View CVE-2024-58400 →
Unrated
llama.cpp before b3701 contains an out-of-bounds read vulnerability in llama_decode_internal and llama_encode_internal that allows remote unauthentica...
UBUNTU-CVE-2024-58400
First seen on SecPulse
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| Ubuntu:26.10 | llama.cpp |
All versions |
— |
| Ubuntu:26.04:LTS | llama.cpp |
All versions |
— |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com
- report github.com
- report github.com
- report github.com
- report github.com
- report github.com
- report nvd.nist.gov
- report vulncheck.com