NetSight
high7.8

CVE-2026-126974

llama.cpp GGUF File Parsing Integer Overflow Remote Code Execution Vulnerability. This...

Impact

llama.cpp GGUF File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of llama.cpp. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of GGUF files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before writing to memory. An attacker can leverage this vulnerability to execute arbitrary code in the context of the current process. Was ZDI-CAN-34553.

An attacker can exploit this with local access to the system, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.

Affected products

VendorProductAffected versions
Ggml-orgLlama.cpp
Version b11160 (70c4e1582)
Llama.cppLlama.cpp
Version b11160 (70c4e1582)

Weakness classification

References