First published: Mon Feb 26 2024(Updated: )
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.
Credit: talos-cna@cisco.com
Affected Software | Affected Version | How to fix |
---|---|---|
Llama.cpp | <2024-01-09 | |
Llama GGUF |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-23496 is classified as a critical severity vulnerability due to its potential for code execution.
To fix CVE-2024-23496, you should update the GGUF library to a version that includes the security patches addressing this vulnerability.
CVE-2024-23496 affects any system using the GGUF library in llama.cpp prior to the patch that resolves the heap-based buffer overflow.
CVE-2024-23496 enables attackers to execute arbitrary code through specially crafted .gguf files.
An attacker can exploit CVE-2024-23496 by supplying a malicious .gguf file to the vulnerable application, triggering the buffer overflow.