---
id: CVE-2026-126974
title: >-
  llama.cpp GGUF File Parsing Integer Overflow Remote Code Execution
  Vulnerability
summary: >-
  llama.cpp 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 v…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.0/AV:L/AC:L/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 b11160 (70c4e1582)
published: '2026-11-17'
updated: '2026-11-17'
sourceUpdated: '2026-11-17T23:15:39.547Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-126974'
references:
  - url: 'https://www.zerodayinitiative.com/advisories/ZDI-26-975/'
    label: ZDI-26-975
  - url: 'https://github.com/ggml-org/llama.cpp/pull/31336'
    label: vendor-provided URL
tags:
  - cve.org
zeroDay: true
ingestedAt: '2026-11-17T23:47:04.401Z'
---

## Overview

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

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

## Affected

- `llama.cpp b11160 (70c4e1582)`

## Remediation

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