Skip to content
HighVulnerabilityLLM-specific

ZDI-26-1078: llama.cpp GGUF File Parsing MINICPM-V Heap-based Buffer Overflow Remote Code Execution Vulnerability

Published
Record updated
View JSON

Summary

ZDI-26-1078 describes a heap-based buffer overflow in llama.cpp's handling of MiniCPM-V vision projector models in GGUF files. The flaw arises because user-supplied data length is not validated before copying into a heap buffer, allowing remote attackers to execute arbitrary code in the current process if a target loads a malicious model file. ZDI rates it CVSS 7.8 and assigns CVE-2026-131836.

Mitigation

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