llama.cpp GEMMA4A GGUF parser overflow allows code execution
Original title: ZDI-26-1074: llama.cpp GGUF File Parsing GEMMA4A Heap-based Buffer Overflow Remote Code Execution Vulnerability
Loading a malicious model file can trigger the heap overflow; ZDI scores CVE-2026-131832 at 7.8.
ZDI advisory ZDI-26-1074 describes a heap-based buffer overflow in llama.cpp GGUF file parsing related to GEMMA4A. A remote attacker can execute arbitrary code if the target loads a malicious model file. ZDI assigned CVSS 7.8 and CVE-2026-131832. The snippet does not name affected versions, a fix, or known attacks.
Unconfirmed: No affected range, patch, or exploitation status is given.
- The issue is in GEMMA4A GGUF file parsing.
- The user must load a malicious model file.
- ZDI CVSS rating is 7.8.
- The assigned CVE is CVE-2026-131832.
Impact: arbitrary code execution if a malicious model file is loaded
| Product | Affected |
|---|---|
| llama.cpp | — |
- 1.Do not load GGUF model files from untrusted sources.
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-131832 | — | — | — |
From the original article
This vulnerability allows remote attackers to execute arbitrary code on affected installations of llama. cpp. User interaction is required to exploit this vulnerability in that the target must load a malicious model file.
zerodayinitiative.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.