ggml-org llama.cpp 0.7.0-dev llama-server common/sampling.cpp common_sampler_init grammar_triggers[].type input validation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.8 | $0-$5k | 0.00+ |
Summary
A vulnerability identified as problematic has been detected in ggml-org llama.cpp 0.7.0-dev. This impacts the function common_sampler_init of the file common/sampling.cpp of the component llama-server. Performing a manipulation of the argument grammar_triggers[].type results in input validation.
This vulnerability is identified as CVE-2026-134540. The attack can be initiated remotely. Additionally, an exploit exists.
You should upgrade the affected component.
Details
A vulnerability was found in ggml-org llama.cpp 0.7.0-dev. It has been classified as problematic. This affects the function common_sampler_init of the file common/sampling.cpp of the component llama-server. The manipulation of the argument grammar_triggers[].type with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. This is going to have an impact on availability.
The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2026-134540. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known.
The exploit is shared for download at gist.github.com. It is declared as proof-of-concept.
Upgrading to version b12405 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 9f26fe11c73c7e74a5e99e7f1b6370ad8e1cb22d is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Vendor
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 4.8
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Input validationCWE: CWE-20
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: llama.cpp b12405
Patch: 9f26fe11c73c7e74a5e99e7f1b6370ad8e1cb22d
Timeline
11/21/2026 Advisory disclosed11/21/2026 VulDB entry created
11/21/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 30835
Status: Confirmed
Confirmation: 🔒
CNA: VulDB
CVE: CVE-2026-134540 (🔒)
GCVE (CVE): GCVE-0-2026-134540
GCVE (VulDB): GCVE-100-441681
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 11/21/2026 04:30Changes: 11/21/2026 04:30 (64)
Complete: 🔍
Submitter: Zyz3366
Cache ID: 216::103
Submit
Accepted
- Submit #1052496: ggml-org llama.cpp (llama-server) 0.7.0-dev, build 50 Denial of Service (by Zyz3366)
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.