Buffer overflow in Ggml Llama.cpp
CVE-2024-21802
- CVSS v3
- 8.8 High
- Public exploits
- None known
- EPSS
- 0.014 · 72.5th percentile
- Published
- 2024-02-26
A heap-based buffer overflow vulnerability exists in the GGUF library info->ne 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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.014, 72.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Ggml Llama.cpp
- Llama.cpp — versions Commit 18c2e17
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://talosintelligence.com/vulnerability_reports/TALOS-2024-1914 (Exploit, Third Party Advisory)
- www.talosintelligence.com/vulnerability_reports/TALOS-2024-1914 (Exploit, Third Party Advisory)