Skip to content
NewA calmer, faster ZeroHour

llama.cpp GGUF parser heap overflow can yield remote code execution

Original title: ZDI-26-1075: llama.cpp GGUF File Parsing set_swa_pattern 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

ZDI rates CVE-2026-131833 at 7.8; exploitation requires visiting a malicious page or opening a malicious file.

ZDI published ZDI-26-1075, a heap-based buffer overflow in llama.cpp GGUF file parsing in set_swa_pattern. Remote attackers can execute arbitrary code on affected installations if the user visits a malicious page or opens a malicious file. ZDI assigned CVSS 7.8 and CVE-2026-131833. No fixed version or exploitation status is stated.

Unconfirmed: Affected and fixed versions are not stated.

Key facts
  • The flaw is in GGUF parsing function set_swa_pattern.
  • User interaction is required.
  • ZDI CVSS score is 7.8.
  • Assigned identifier is CVE-2026-131833.
Security assessment · AI, from the article

Impact: arbitrary code execution after opening a malicious file or page

ProductAffected
llama.cpp—
What to do
  1. 1.Do not open untrusted GGUF files or visit untrusted pages that supply them.
Analyze CVE-2026-131833 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-131833
———

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 visit a malicious page or open a malicious 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.