A heap-based buffer overflow vulnerability exists in the GGUF library GGUF_TYPE_ARRAY/GGUF_TYPE_STRING parsing 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.
References
| Link | Resource |
|---|---|
| https://talosintelligence.com/vulnerability_reports/TALOS-2024-1912 | Exploit Third Party Advisory |
| https://talosintelligence.com/vulnerability_reports/TALOS-2024-1912 | Exploit Third Party Advisory |
| https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-1912 |
Configurations
History
04 Nov 2025, 19:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
12 Feb 2025, 18:47
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Ggerganov llama.cpp
Ggerganov |
|
| References | () https://talosintelligence.com/vulnerability_reports/TALOS-2024-1912 - Exploit, Third Party Advisory | |
| CWE | CWE-787 | |
| CPE | cpe:2.3:a:ggerganov:llama.cpp:*:*:*:*:*:*:*:* |
21 Nov 2024, 08:55
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
|
| References | () https://talosintelligence.com/vulnerability_reports/TALOS-2024-1912 - |
26 Feb 2024, 18:15
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
26 Feb 2024, 17:15
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
26 Feb 2024, 16:32
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2024-02-26 16:27
Updated : 2025-11-04 19:16
NVD link : CVE-2024-21825
Mitre link : CVE-2024-21825
CVE.ORG link : CVE-2024-21825
JSON object : View
Products Affected
ggerganov
- llama.cpp
