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

November 24th, 2026

Vulnerability Details

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 load a malicious model file.

The specific flaw exists within the handling of MiniCPM-V vision projector models. 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 code in the context of the current process.

Additional Details

llama.cpp has issued an update to correct this vulnerability. More details can be found at:
https://github.com/ggml-org/llama.cpp/pull/32132

Disclosure Timeline

  • 2026-05-22 - Vulnerability reported to vendor
  • 2026-11-24 - Coordinated public release of advisory
  • 2026-11-24 - Advisory Updated

Credit

Anonymous

Back to Advisories