llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
- CVE-2026-126975
- GHSA-6q2w-jx57-7qrg
- EUVD-2026-128232
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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
llama.cpp
Affected versions Fixed in b11160 (70c4e1582) none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.