Skip to content
HighVulnerabilityLLM-specific

ZDI-26-1077: llama.cpp GGUF File Parsing HunyuanVL Heap-based Buffer Overflow Remote Code Execution Vulnerability

Published
Record updated
View JSON

Summary

ZDI-26-1077 is a heap-based buffer overflow in llama.cpp's GGUF file parsing, specifically in the handling of HunyuanVL vision projector models. The flaw stems from missing validation of user-supplied data length before it is copied to a heap buffer, allowing remote attackers to execute arbitrary code in the context of the current process. Exploitation requires the target to load a malicious model file, and ZDI assigned a CVSS rating of 7.8 under CVE-2026-131835.

Mitigation

llama.cpp has issued an update to correct this vulnerability, with details at https://github.com/ggml-org/llama.cpp/pull/32131.