CVE-2026-134540: ggml-org llama.cpp 0.7.0-dev
Affects llama.cppSource GCVE Database
Public exploit available · CVSS 6.9 Medium.
Data as of 25 Nov 2026, 23:22 UTC
Thin evidence
One scorer or none| CNA (VulDB) | CVSS 4.0 | 6.9 |
|---|---|---|
| CNA (VulDB) | CVSS 3.1 | 5.3 |
| CNA (VulDB) | CVSS 3.0 | 5.3 |
| CNA (VulDB) | CVSS 2.0 | 5.0 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 21 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10llama.cpppkg:deb/ubuntu/llama.cpp?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSllama.cpppkg:deb/ubuntu/llama.cpp?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade the affected component to version b12405, which includes the patch (commit 9f26fe11c73c7e74a5e99e7f1b6370ad8e1cb22d) that mitigates this vulnerability. No other mitigation actions are specified or required.
Description
A security vulnerability exists in ggml-org llama.cpp 0.7.0-dev affecting the common_sampler_init function in common/sampling.cpp of the llama-server component. The flaw involves improper input validation due to manipulation of the grammar_triggers[].type argument. This vulnerability can be exploited remotely and has been publicly disclosed. Upgrading to version b12405 mitigates the issue.
References
- ubuntu.com/security/CVE-2026-134540 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-134540 (opens in a new tab)
- gist.github.com/Yunzez/90b17f91d7f1955805e0045a1a76fb6d (opens in a new tab)
- github.com/ggml-org/llama.cpp/ (opens in a new tab)
- github.com/ggml-org/llama.cpp/commit/9f26fe11c73c7e74a5e99e7f1b6370ad8e1cb22d (opens in a new tab)
- github.com/ggml-org/llama.cpp/issues/30835 (opens in a new tab)
- github.com/ggml-org/llama.cpp/pull/31478 (opens in a new tab)
- github.com/ggml-org/llama.cpp/releases/tag/b12405 (opens in a new tab)
- vuldb.com/cve/CVE-2026-134540 (opens in a new tab)
- vuldb.com/submit/1052496 (opens in a new tab)
- vuldb.com/vuln/441681 (opens in a new tab)
- vuldb.com/vuln/441681/cti (opens in a new tab)