CVE-2024-21802: Buffer Overflow
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-21802?
CVE-2024-21802 is considered to be a critical severity vulnerability due to the potential for code execution via a specially crafted file.
How do I fix CVE-2024-21802?
To fix CVE-2024-21802, update the llama.cpp software to a version released after January 9, 2024, which addresses this vulnerability.
What kind of attack vector does CVE-2024-21802 utilize?
CVE-2024-21802 can be exploited via a specially crafted .gguf file that triggers the heap-based buffer overflow.
Which versions of llama.cpp are affected by CVE-2024-21802?
CVE-2024-21802 affects all versions of llama.cpp up to, but not including, version released on January 9, 2024.
Can CVE-2024-21802 lead to other security issues?
Yes, the buffer overflow vulnerability in CVE-2024-21802 can potentially lead to additional vulnerabilities such as remote code execution.