8.8high
A heap-based buffer overflow vulnerability exists in the GGUF library gguffreadstr functionality of llama.cpp Commit 18c2e17.
- Severity
- 8.8high CVSS:3.1 by talos
- Exploit likelihood
- 1.34% (higher than 72% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- talos
Description
A heap-based buffer overflow vulnerability exists in the GGUF library gguf_fread_str 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| llama.cpp llama.cpp | Commit 18c2e17 | CVE List |
| ggerganov llama.cpp | 18c2e17 | CVE List |
| ggml llama.cpp | before 2024-01-09 | NVD |
All scores
| talos | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
A heap-based buffer overflow vulnerability exists in the GGUF library gguf_fread_str 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.
NVD (es)
Existe una vulnerabilidad de desbordamiento de búfer de almacenamiento dinámico en la funcionalidad gguf_fread_str de la librería GGUF de llama.cpp Commit 18c2e17. Un archivo .gguf especialmente manipulado puede provocar la ejecución de código. Un atacante puede proporcionar un archivo malicioso para desencadenar esta vulnerabilidad.
References
| https://talosintelligence.com/vulnerability_reports/TALOS-2024-1913 | exploit, third-party-advisory | |
| https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-1913 | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-23496 changed 2025-11-04 | CVE Terms of Use |
| NVD | CVE-2024-23496 changed 2026-06-17 | Public domain |