CVE-2024-58399
CVE-2024-58399 · llama.cpp before b2731 Out-of-Bounds Read via GGUF Tensor Offsets
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 6.9 · Moyenne · EPSS 0,1%
- Publication
- Mise à jour
Pile logicielle: system
Produits et versions concernés
llama.cpp
- Versions du logiciel
- ≥ b1046, < b2731: Concernée (custom)
Aucun correctif publié
llama.cpp Ubuntu:26.10
- Versions du logiciel
- 8681+dfsg-1
- 9721+dfsg-1ubuntu1
- 10438+dfsg-1
- 10438+dfsg-1ubuntu1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
llama.cpp Ubuntu:26.04:LTS
- Versions du logiciel
- 5882+dfsg-2
- 8064+dfsg-1ubuntu1
- 8681+dfsg-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
Sources originales
- https://github.com/ggml-org/llama.cpp/issues/6774
- https://github.com/ggml-org/llama.cpp/pull/6885
- https://github.com/ggml-org/llama.cpp/commit/0ead1f1072fdc70720f92e008a294dc74a826b1d
- https://github.com/ggml-org/llama.cpp/blob/b2730/llama.cpp#L3002-L3004
- https://github.com/ggml-org/llama.cpp/releases/tag/b2731
- https://www.vulncheck.com/advisories/llama-cpp-before-b2731-out-of-bounds-read-via-gguf-tensor-offsets
- https://nvd.nist.gov/vuln/detail/CVE-2024-58399