Description
llama.cpp is an inference of several LLM models in C/C++. Integer Overflow in the gguf_init_from_file_impl function in ggml/src/gguf.cpp can lead to Heap Out-of-Bounds Read/Write. This vulnerability is fixed in commit 26a48ad699d50b6268900062661bd22f3e792579.
Problem types
CWE-122: Heap-based Buffer Overflow
CWE-680: Integer Overflow to Buffer Overflow
Product status
References
github.com/...ma.cpp/security/advisories/GHSA-vgg9-87g3-85w8
github.com/...ommit/26a48ad699d50b6268900062661bd22f3e792579