llama.cpp GGUF File Parsing Heap-based Buffer 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 the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute arbitrary code in the context of the current process. Was ZDI-CAN-34558.

Project Subscriptions

Vendors Products
Llama.cpp Subscribe
Llama.cpp Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 19 Nov 2026 09:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 18 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Llama.cpp
Llama.cpp llama.cpp
Vendors & Products Llama.cpp
Llama.cpp llama.cpp

Tue, 17 Nov 2026 23:30:00 +0000

Type Values Removed Values Added
Description llama.cpp GGUF File Parsing Heap-based Buffer 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 the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute arbitrary code in the context of the current process. Was ZDI-CAN-34558.
Title llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
Weaknesses CWE-122
References
Metrics cvssV3_0

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


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: zdi

Published:

Updated: 2026-11-18T17:23:28.861Z

Reserved: 2026-11-12T03:09:29.124Z

Link: CVE-2026-126975

cve-icon Vulnrichment

Updated: 2026-11-18T17:23:23.718Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-18T00:18:38.080

Modified: 2026-11-18T18:19:04.303

Link: CVE-2026-126975

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-19T04:15:02Z

Weaknesses