6.9medium
llama.cpp before b2731 Out-of-Bounds Read via GGUF Tensor Offsets
- Severity
- 6.9medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
llama.cpp before b2731 contains an out-of-bounds read vulnerability in llama_model_loader that allows attackers to read memory outside the mapped model file via crafted GGUF tensor offsets. Attackers can supply a crafted or truncated GGUF model file with arbitrary 64-bit tensor offsets to crash the process or load adjacent process memory as model weights.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ggml-org llama.cpp | from b1046 before b2731 | CVE List |
All scores
| VulnCheck | 6.9medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 6.1medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
llama.cpp before b2731 contains an out-of-bounds read vulnerability in llama_model_loader that allows attackers to read memory outside the mapped model file via crafted GGUF tensor offsets. Attackers can supply a crafted or truncated GGUF model file with arbitrary 64-bit tensor offsets to crash the process or load adjacent process memory as model weights.
NVD (es)
llama.cpp antes de la versión b2731 contiene una vulnerabilidad de lectura fuera de límites en llama_model_loader que permite a los atacantes leer memoria fuera del archivo de modelo mapeado mediante desplazamientos de tensor GGUF manipulados. Los atacantes pueden suministrar un archivo de modelo GGUF manipulado o truncado con desplazamientos de tensor de 64?bits arbitrarios para bloquear el proceso o cargar la memoria adyacente del proceso como pesos del modelo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-58399 changed 2026-11-02 | CVE Terms of Use |
| NVD | CVE-2024-58399 changed 2026-11-02 | Public domain |