← VULNERABILITIES

CVE-2026-126975

llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

High · 7.8
CVSS
7.8
EPSS
0.27% (p20)
Published
2026-11-17
Age
19d old
Modified
2026-11-18
Product
llama.cpp llama.cpp

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

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.

Sources

  • NVD · first seen 19d ago · NVD terms of use
  • CVE List · first seen 19d ago · CVE Terms of Use

References

JSON