Skip to content
HighVulnerabilityLLM-specific

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

Published
Record updated
View JSON

Summary

A heap-based buffer overflow in llama.cpp's handling of GEMMA4A audio projector models lets remote attackers execute arbitrary code, but only if the target loads a malicious model file. The flaw stems from missing validation of the length of user-supplied data before it is copied to a heap buffer. ZDI rates it CVSS 7.8 under CVE-2026-131832.

Mitigation

llama.cpp has issued an update to correct this vulnerability. More details can be found at: https://github.com/ggml-org/llama.cpp/pull/24091