Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/ggml-org/llama.cpp/blob/b2730/llama.cpp#L3002-L3004
- https://github.com/ggml-org/llama.cpp/commit/0ead1f1072fdc70720f92e008a294dc74a8
- 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/releases/tag/b2731
- https://www.vulncheck.com/advisories/llama-cpp-before-b2731-out-of-bounds-read-v
FAQ
What is CVE-2024-58399?
CVE-2024-58399 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 ...
How severe is CVE-2024-58399?
CVE-2024-58399 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-58399?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.