Indonesia Healthcare Corporation IHC ICT Cybersecurity emblem
Theme
Language
0-Day / ZDI High · CVSS 7.8

ZDI-26-976: llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

13 November 2026 ·CVE-2026-126975

Summary

A heap-based buffer overflow vulnerability exists in llama.cpp during the parsing of GGUF files. This vulnerability allows remote attackers to execute arbitrary code on affected installations. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

  • CVE ID: CVE-2026-126975
  • CVSS Score: 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
  • Credit: lucasfutures

Affected Products

  • llama.cpp

Technical Details

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.

Impact

Successful exploitation allows an attacker to execute arbitrary code in the context of the current process.

Mitigation

llama.cpp has issued an update to correct this vulnerability:

References

Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.

Advisory Lain