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 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.
- 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.
Impact: arbitrary code execution after opening a malicious file or page
| Product | Affected |
|---|---|
| llama.cpp | — |
- 1.Do not open untrusted GGUF files or visit untrusted pages that supply them.
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| 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.
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.