Integer overflow in llama.cpp - CVE-2025-53630
Published: July 18, 2025
llama.cpp
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow in the "gguf_init_from_file_impl" function within ggml/src/gguf.cpp. A remote attacker can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.