---
id: CVE-2026-126976
title: >-
  llama.cpp MTMD Multimodal GGUF File Parsing Integer Overflow Remote Code
  Execution Vulnerability
summary: >-
  llama.cpp MTMD Multimodal GGUF File Parsing Integer Overflow Remote Code
  Execution Vulnerability. This vulnerability allows remote attackers to execute
  arbitrary code on affected installations of llama.cpp. User interaction is
  required t…
severity: high
cvss: 7
cvssVector: 'CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-190
vendor: llama.cpp
product: llama.cpp
affected:
  - llama.cpp b8958
published: '2026-11-17'
updated: '2026-11-17'
sourceUpdated: '2026-11-17T23:15:54.112Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-126976'
references:
  - url: 'https://www.zerodayinitiative.com/advisories/ZDI-26-954/'
    label: ZDI-26-954
  - url: >-
      https://github.com/ggml-org/llama.cpp/commit/e2e7a9b2d04e0404131e551243d4bd399ccfe606
    label: vendor-provided URL
tags:
  - cve.org
zeroDay: true
ingestedAt: '2026-11-17T23:47:04.400Z'
---

## Overview

llama.cpp MTMD Multimodal GGUF File Parsing Integer Overflow Remote Code Execution Vulnerability. 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 open a malicious file.

The specific flaw exists within the parsing of audio multimodal projector GGUF files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute arbitrary code in the context of the current process. Was ZDI-CAN-30980.

## Affected

- `llama.cpp b8958`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
