Skip to content
NewA calmer, faster ZeroHour

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

ZDI Published Advisories ()
Part of a story covered by 9 sourcesZDI publishes nine llama.cpp GGUF and server remote code flawsMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

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.

Key facts
  • 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.
Security assessment · AI, from the article

Impact: arbitrary code execution if a malicious model file is loaded

ProductAffected
llama.cpp—
What to do
  1. 1.Do not load GGUF model files from untrusted sources.
Analyze CVE-2026-131832 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
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.

ZDI Published Advisories

zerodayinitiative.com

Read the full article at ZDI Published Advisories

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.