Skip to content
HighVulnerabilityLLM-specific

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

Published
Record updated
View JSON

Summary

ZDI-26-1071 describes an integer overflow in llama.cpp's parsing of GGUF files, caused by missing validation of user-supplied data before a buffer is allocated. A remote attacker can run arbitrary code in the context of the current process, but the target must visit a malicious page or open a malicious file. ZDI rates the flaw CVSS 7.8 and assigns CVE-2026-131828.

Mitigation

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