| Component | llama.cpp |
| Severity | medium (CVSS 5.3) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| Published (NVD) | 2026-10-26 |
| Last modified | 2026-10-27 |
| Affected versions | <= 0.7.0 read from the advisory text: no structured source gives these versions yet |
| Fixed in | see the vendor advisory |
| Weakness | CWE-617 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's record (status: Deferred) lists no affected versions of llama.cpp for this CVE. The ranges above are read from the advisory text: neither a GitHub-reviewed advisory nor the CVE record confirms them yet.
NVD description
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.
What to do
- No fixed release is known yet: follow the vendor advisory below and keep llama.cpp off the public internet until a fix ships.
- Do not expose the component's API or UI to the internet without authentication in front of it.
- Run llama.cpp bound to localhost and reach it over a private network rather than an open port. Tailscale for self-hosted AI · Which machine for a 7B model next to an agent · Agent plus local model, the exact setup, €12