CVE-2026-126974

7.8High

Published 18 Nov 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.1-flash-lite

7.8CVSS

High

0CVSS v3.010

Attack vector
Local
Complexity
Low
Privileges
None
User action
Required
Impact
Full C/I/A compromise
Weakness
CWE-190

What an attacker gets

Remote attackers can execute arbitrary code in the context of the llama.cpp process. This requires a user to open a malicious GGUF file or visit a page that triggers the parser.

Root cause

An integer overflow occurs during GGUF file parsing due to insufficient validation of user-supplied data before memory allocation.

Affected versions

Versions not listed — check the vendor advisory.

CVSS v3.0 · CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Fix & remediation

Update to the latest version of llama.cpp from the official repository. Until updated, avoid opening GGUF files from untrusted sources.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-126974