Skip to content
HighVulnerabilityLLM-specific

ZDI-26-975: llama.cpp GGUF File Parsing Integer Overflow Remote Code Execution Vulnerability

Published
Record updated
View JSON

Summary

ZDI-26-975 describes an integer overflow in the GGUF file parser of llama.cpp that lacks proper validation of user-supplied data. A remote attacker can exploit it by getting a target to visit a malicious page or open a malicious file, and execute arbitrary code in the context of the current process. The ZDI rates it CVSS 7.8 and it is tracked as CVE-2026-126974.

Mitigation

llama.cpp has issued an update to correct this vulnerability. More details are available at https://github.com/ggml-org/llama.cpp/pull/31336.