CVE-2026-134540: ggml-org llama.cpp - Improper Input Validation
- Cve: CVE-2026-134540
- Name: ggml-org llama.cpp - Improper Input Validation
- Description: A security vulnerability has been detected in ggml-org llama.cpp 0.7.0-dev. This affects the function common_sampler_init of the file common/sampling.cpp of the component llama-server. Such manipulation of the argument grammar_triggers[].type leads to improper input validation. It is possible to launch the attack remotely. The exploit has been disclosed publicly and may be used. Upgrading to version b12405 mitigates this issue. The name of the patch is 9f26fe11c73c7e74a5e99e7f1b6370ad8e1cb22d. It is advisable to upgrade the affected component.
- Impact: Remote attackers can potentially cause undefined behavior or crash the server via crafted input.
- Remediation: Upgrade to version b12405 or later.
- Requirement type: none
- Labels source: securitycontext
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Epss score: 0.00648
- Epss percentile: 0.52029
- Assignee: [email protected]
- Published at: 2026-11-21T23:16:55Z
- Age in days: 2
- Modified at: 2026-11-23T16:17:32Z
- References total: 10
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-134540
- Nvd status: awaiting_analysis
- Checked, none or zero: vulnerability impact, patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| ggml-org:llama.cpp | = 0.7.0-dev | no | cna_cpes | /v1/products/ggml-org/llama.cpp |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| ggml-org/llama.cpp | commit, fix, issues, pull, releases | yes | /v1/repositories/ggml-org/llama.cpp |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts