AI Stack Alert High CVE-2026-131836 For AI Eng, AppSec, SOC / IR, CISO AI-assisted
ZDI-26-1078: llama.cpp GGUF MiniCPM-V heap buffer overflow allows remote code execution
A heap-based buffer overflow exists in llama.cpp when handling MiniCPM-V vision projector models in GGUF files. The flaw results from missing length validation before copying user-supplied data to a heap buffer. The vendor has released an update to correct the issue.
Why it matters
Organizations running llama.cpp that load third-party GGUF model files may be exposed to arbitrary code execution in the context of the inference process. An attacker who gets a user to load a malicious model file could gain code execution.
Do this
- Update llama.cpp to a build that includes the fix referenced in upstream pull request 32132.
- Inventory systems running llama.cpp and identify which load MiniCPM-V vision projector models.
- Restrict loading of GGUF model files to trusted sources and verify provenance before use.
- Run llama.cpp inference processes with least privilege and network isolation to limit impact of code execution.
Exploit Clock
No signals yet
- No exploitation signals yet
Signals
- NoCISA KEV
- 36/100Priority
- 80%Confidence
Evidence
“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.”
“llama.cpp has issued an update to correct this vulnerability.”
Sources
Affected / related
llama.cpp, GGUF file parsing heap-based buffer overflow, MiniCPM-V
Published 2026-11-24 06:00 UTC · updated 2026-11-24 20:05 UTC · AI-assisted summary, checked against quoted sources · How we score