Integer Overflow in llama.cpp GGUF File Parsing Allows Remote Code Execution
CVE-2026-126974
7.8HIGH
What is CVE-2026-126974?
A vulnerability exists in llama.cpp's GGUF file parsing routine, where inadequate validation of user-supplied data can lead to an integer overflow. This flaw allows attackers, with user interaction, to exploit the vulnerability by tricking victims into either visiting a malicious page or opening a harmful GGUF file. When the overflow occurs, it can result in arbitrary code execution within the affected process's context, potentially compromising the integrity of the system.
Affected Version(s)
llama.cpp b11160 (70c4e1582)
