CVE-2026-2069ggml-org llama.cpp GBNF Grammar llama-grammar.cpp llama_grammar_advance_stack stack-based overflow
Updated under an hour ago ()
Does this affect you?
It affects ggml-org llama.cpp. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
A flaw has been found in ggml-org llama.cpp up to 55abc39. Impacted is the function llama_grammar_advance_stack of the file llama.cpp/src/llama-grammar.cpp of the component GBNF Grammar Handler. This manipulation causes stack-based buffer overflow. The attack needs to be launched locally. The exploit has been published and may be used. Patch name: 18993. To fix this issue, it is recommended to deploy a patch.
- CVSS
- 3.3 LOW (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
- Weakness (CWE)
- CWE-121, CWE-119
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- VulDB
- NVD analysis
- Deferred
- Record last updated
- Feb 23, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
ggml-org llama.cpp ggml_org:llama.cpp (from the name) | 55abc39 | CNA record |
References
- https://vuldb.com/?id.344636vdb-entry, technical-description
- https://vuldb.com/?ctiid.344636signature, permissions-required
- https://vuldb.com/?submit.745263third-party-advisory
- https://github.com/ggml-org/llama.cpp/issues/18988issue-tracking
- https://github.com/ggml-org/llama.cpp/issues/18988#event-4426704865issue-tracking
- https://github.com/user-attachments/files/24761101/poc.zipexploit
- https://github.com/ggml-org/llama.cpp/pull/18993issue-tracking, patch
- https://github.com/ggml-org/llama.cpp/product
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.