What’s Vulnerable › Vulnerabilities
CVE-2024-21802
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-02-26 · updated 2026-06-17
- Weakness: CWE-122
Description
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.
Affected products
- ggml-org llama.cpp: before 2024-01-09 — fixed in 2024-01-09
How to fix
Upgrade to a fixed version: ggml-org llama.cpp 2024-01-09. Check the vendor advisory for mitigations.
References
- https://talosintelligence.com/vulnerability_reports/TALOS-2024-1914
- https://talosintelligence.com/vulnerability_reports/TALOS-2024-1914
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-1914
Get alerted when CVE-2024-21802 or the next vulnerability affects your stack