CVE-2024-23605 A heap-based buffer overflow vulnerability exists in the GGUF library header.n_kv functionality of llama.cpp Commit 18c2e17. A specially crafted .gguf file can lead to code execution. An attacker can....
CriticalCVSS 9.8
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- Debian
Description
A heap-based buffer overflow vulnerability exists in the GGUF library header.n_kv functionality of llama.cpp Commit 18c2e17. A specially crafted .gguf file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.
Upgrade path
3 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ggerganov llama.cpp | All versions | No fix listed | No fix yet |
| ggml llama.cpp | < 2024-01-09 | 2024-01-09 | Fixed |
| llama.cpp | = Commit 18c2e17 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| llama.cpp | = Commit 18c2e17 | No fix listed |
| ggerganov llama.cpp | All versions | No fix listed |
| ggml llama.cpp | < 2024-01-09 | 2024-01-09 |
References
- https://talosintelligence.com/vulnerability_reports/TALOS-2024-1916 exploit third-party-advisory
- www.talosintelligence.com exploit third-party-advisory
- Debian Security Tracker CVE-2024-23605 vendor-advisory