ggml-org llama.cpp up to 55abc39 GBNF Grammar llama-grammar.cpp llama_grammar_advance_stack stack-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.1 | $0-$5k | 0.00 |
Summary
A vulnerability described as critical has been identified in ggml-org llama.cpp up to 55abc39. The affected element is the function llama_grammar_advance_stack of the file llama.cpp/src/llama-grammar.cpp of the component GBNF Grammar Handler. Such manipulation leads to stack-based overflow.
This vulnerability is documented as CVE-2026-2069. The attack needs to be performed locally. Additionally, an exploit exists.
It is advisable to implement a patch to correct this issue.
Details
A vulnerability was found in ggml-org llama.cpp up to 55abc39. It has been rated as problematic. Affected by this issue is the function llama_grammar_advance_stack of the file llama.cpp/src/llama-grammar.cpp of the component GBNF Grammar Handler. The manipulation with an unknown input leads to a stack-based overflow vulnerability. Using CWE to declare the problem leads to CWE-121. A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function). Impacted is availability.
The advisory is shared for download at github.com. This vulnerability is handled as CVE-2026-2069. The exploitation is known to be easy. The attack needs to be approached locally. Technical details as well as a public exploit are known.
The exploit is available at github.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 298325 (Linux Distros Unpatched Vulnerability : CVE-2026-2069), which helps to determine the existence of the flaw in a target environment.
Applying the patch 18993 is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the databases at Tenable (298325) and EUVD (EUVD-2026-5558). Once again VulDB remains the best source for vulnerability data.
Product
Vendor
Name
Version
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 3.3VulDB Meta Temp Score: 3.1
VulDB Base Score: 3.3
VulDB Temp Score: 3.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 3.3
CNA Vector: 🔒
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: Stack-based overflowCWE: CWE-121 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 298325
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-2069
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: 18993
Timeline
02/06/2026 Advisory disclosed02/06/2026 VulDB entry created
02/10/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 18988
Status: Confirmed
Confirmation: 🔒
CVE: CVE-2026-2069 (🔒)
GCVE (CVE): GCVE-0-2026-2069
GCVE (VulDB): GCVE-100-344636
EUVD: 🔒
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 02/06/2026 08:46Updated: 02/10/2026 05:46
Changes: 02/06/2026 08:46 (61), 02/07/2026 05:35 (1), 02/07/2026 10:49 (30), 02/10/2026 05:46 (2)
Complete: 🔍
Submitter: TYGLS
Cache ID: 216::103
Submit
Accepted
- Submit #745263: llama.cpp commit 55abc39 Stack-based Buffer Overflow (by TYGLS)
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.