CVE-2026-126976

llama.cpp MTMD Multimodal GGUF File Parsing Integer Overflow Remote Code Execution Vulnerability

Published Nov 17, 2026 CVSS 3.0 · 7 High EPSS n/a KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability is an integer overflow in the parsing of audio multimodal GGUF files in llama.cpp. Because the library does not validate user‑supplied data, an attacker can cause an overflow before a buffer is allocated, allowing execution of arbitrary code in the context of the current process. The flaw requires that a user opens a malicious file, so exploitation involves user interaction.

Affected Systems

Based on the description, it is inferred that affected installations of llama.cpp are vulnerable, as no specific version guidance is provided in the advisory. All versions using the legacy GGUF parser are presumed affected until the hot‑fix commit is applied.

Risk and Exploitability

The CVSS score of 7.0 indicates a high severity and the lack of an EPSS score limits precise risk quantification. The vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is delivering a malicious GGUF file that a user opens in an application using llama.cpp; once the file is processed, arbitrary code runs with the application's privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade llama.cpp to the version incorporating commit e2e7a9b2d04e0404131e551243d4bd399ccfe606 or later.
  • Restrict files from untrusted sources and ensure that users do not open unknown GGUF files.
  • Implement additional input validation or sandbox the GGUF parsing process to mitigate integer overflow attacks.
  • Enable logging and monitor for anomalous execution patterns that could indicate exploitation.

Generated by OpenCVE AI on November 18, 2026 at 09:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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.
Title llama.cpp MTMD Multimodal GGUF File Parsing Integer Overflow Remote Code Execution Vulnerability
Weaknesses CWE-190
References
Metrics cvssV3_0

{'score': 7, 'vector': 'CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Subscriptions

No data.

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
zdi
Published
Updated
Nov 17, 2026, 11:15 PM
Reserved
Nov 12, 2026, 3:10 AM
Status
Awaiting Analysis
Published
Nov 18, 2026, 12:18 AM
Modified
Nov 18, 2026, 12:18 AM