Heap-based buffer overflow in llama.cpp - CVE-2024-23496
Published: February 27, 2024
llama.cpp
ggerganov
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in the GGUF library gguf_fread_str functionality. A remote attacker can trick a victim to open a specially crafted .gguf file, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.