CVE-2024-58399
Tenable Plugin
Checking the public Tenable catalog…
AI Threat Summary
CVE-2024-58399 is a moderate vulnerability with a CVSS score of 6.1 affecting the target software. Threat hunters should monitor for exploit attempts and apply vendor patches immediately.
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.
Attack Chain
Attacker scans for vulnerable versions using version banners or PoC scanners
Attacker triggers CVE-2024-58399 vulnerability with a crafted request or payload
Vulnerability exploited to perform unauthorized actions on the target system
Depending on vulnerability type, attacker achieves data access, service disruption, or code execution
MITRE ATT&CK Techniques
Indicators of Compromise
| Type | Value | Description | |
|---|---|---|---|
| user_agent | Mozilla/5.0 (compatible; exploit/1.0) |
Generic exploit scanner user agent pattern | |
| url | /api/vuln-endpoint?payload=<malicious> |
Exploit attempt against application endpoint — monitor access logs for anomalous params |
Remediation
Quick Facts
| CVE ID | CVE-2024-58399 |
| CVSS Score | 6.1 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H |
| Published | 2026-10-27 |
| Exploited | No |
| CISA KEV | No |
| PoC | Not public |
References
- https://github.com/ggml-org/llama.cpp/blob/b2730/llama.cpp#L…
- https://github.com/ggml-org/llama.cpp/commit/0ead1f1072fdc70…
- 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-…