# ZDI-26-975: llama.cpp GGUF File Parsing Integer Overflow Remote Code Execution Vulnerability

DevFeed: [ZDI-26-975: llama.cpp GGUF File Parsing Integer Overflow Remote Code Execution Vulnerability](<https://devfeed.tech/articles/zdi-26-975-llama-cpp-gguf-file-parsing-integer-overflow-remote-code-execution-vulnerability-133800.md>)

Original publisher: [Read original article](<http://www.zerodayinitiative.com/advisories/ZDI-26-975/>)

Published: 2026-11-13T06:00:00Z

Content type: news

Language: en

Sources: [Zero Day Initiative](<https://devfeed.tech/sources/zero-day-initiative.md>)

Topics: [llama.cpp](<https://devfeed.tech/topics/llama-cpp.md>), [Exploit](<https://devfeed.tech/topics/exploit.md>), [Parsing](<https://devfeed.tech/topics/parsing.md>)

Tags: [gguf](<https://devfeed.tech/tags/gguf.md>), [integer-overflow](<https://devfeed.tech/tags/integer-overflow.md>), [llama-cpp](<https://devfeed.tech/tags/llama-cpp.md>), [parsing](<https://devfeed.tech/tags/parsing.md>), [remote-code-execution](<https://devfeed.tech/tags/remote-code-execution.md>), [remote-code-execution-vulnerability](<https://devfeed.tech/tags/remote-code-execution-vulnerability.md>), [user-interaction](<https://devfeed.tech/tags/user-interaction.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

## AI overview

The llama.cpp GGUF parser has an integer overflow flaw that can lead to arbitrary code execution in the current process. Exploitation requires user interaction: the target must visit a malicious page or open a malicious file. The ZDI assigns CVSS 7.8 and identifies CVE-2026-126974. llama.cpp issued an update to address the vulnerability.

## Source excerpt

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 ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2026-126974.