---
id: "CVE-2026-116467"
kind: "vulnerability"
aliases: ["CVE-2026-116467"]
title: "llama.cpp: Mirostat sampler flaw triggers a reachable assertion remotely"
severity: "medium"
cvss: 6.9
epss: null
exploited: false
status: "open"
category: "ai-tooling"
products: []
ecosystems: []
tags: ["ai-inference", "ai-tooling", "llama.cpp", "self-hosted"]
not_affected_if: ["local-only-use"]
published_at: "2026-10-26T19:16:30+00:00"
first_seen_at: "2026-10-26T19:32:06+00:00"
updated_at: "2026-10-26T19:33:58+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-116467", "first_seen_at": "2026-10-26T19:32:06+00:00"}]
---

# llama.cpp: Mirostat sampler flaw triggers a reachable assertion remotely

A flaw in the Mirostat sampler code in src/llama-sampler.cpp of llama.cpp up to 0.7.0 can be triggered to hit a reachable assertion. The sources say the attack can be launched remotely, and the impact stated is a crash-style assertion failure rather than code execution.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the llama.cpp version in use against `0.7.0`; versions up to and including `0.7.0` are listed as affected
- Confirm whether the server or application exposes sampler settings such as Mirostat to untrusted requests (unknown whether this is required)

## Fix

- No fixed version is named in the sources; the project had not responded when the report was published
- Watch the upstream ggml-org/llama.cpp repository for a patch touching src/llama-sampler.cpp (unknown whether one exists)

## Timeline

- 2026-10-26T19:32:06+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-116467

## From the sources

A security flaw has been discovered in ggml-org llama.cpp up to 0.7.0. Affected by this vulnerability is an unknown functionality of the file src/llama-sampler.cpp of the component Mirostat Sampler. The manipulation results in reachable assertion. It is possible to launch the attack remotely. The project was informed of the problem early through a pull request but has not reacted yet.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
