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

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

24 November 2026 ·CVE-2026-131836

Summary

Zero Day Initiative (ZDI) has released security advisory ZDI-26-1078 concerning a Heap-based Buffer Overflow vulnerability in the GGUF file parsing implementation of llama.cpp. Tracked as CVE-2026-131836, this vulnerability allows remote attackers to execute arbitrary code on affected installations of llama.cpp. User interaction is required to exploit this vulnerability, as the target user must load a maliciously crafted model file.

Affected Products

  • llama.cpp software (versions handling MiniCPM-V vision projector models prior to the issued patch).

Technical Details

The vulnerability CVE-2026-131836 exists within the handling of MiniCPM-V vision projector models during GGUF file parsing. The flaw stems from a lack of proper length validation of user-supplied data prior to copying it into a heap-based buffer. An attacker can leverage this vulnerability by providing a crafted GGUF file to trigger a buffer overflow and execute arbitrary code in the context of the running llama.cpp process. The CVSS v3.1 score for this vulnerability is 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

Impact

Successful exploitation allows an attacker to execute arbitrary code on the target system within the security context of the llama.cpp process.

  • Confidentiality: High — An attacker can gain unauthorized access to sensitive application data and memory.
  • Integrity: High — An attacker can modify application data or execute unauthorized commands on the target system.
  • Availability: High — An attacker can cause application crashes or denial-of-service conditions.

Mitigation & Remediation Recommendations

  • Software Update: Immediately update llama.cpp installations to the latest version containing the fix (refer to Pull Request #32132).
  • Model Source Validation: Avoid opening or loading GGUF model files (specifically MiniCPM-V models) from untrusted or unknown sources.
  • Principle of Least Privilege: Execute llama.cpp with restricted user privileges to limit potential damage in the event of exploitation.

References

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

Advisory Lain