What’s Vulnerable › Vulnerabilities
CVE-2026-2069: ggml-org llama.cpp GBNF Grammar llama-grammar.cpp llama_grammar_advance_stack stack-based overflow
- Severity: low (CVSS 3.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-06 · updated 2026-06-17
- Weakness: CWE-119
Description
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.
Affected products
- ggml-org llama.cpp: 55abc39
References
- https://github.com/ggml-org/llama.cpp/
- https://github.com/ggml-org/llama.cpp/issues/18988
- https://github.com/ggml-org/llama.cpp/issues/18988#event-4426704865
- https://github.com/ggml-org/llama.cpp/pull/18993
- https://github.com/user-attachments/files/24761101/poc.zip
- https://vuldb.com/?ctiid.344636
- https://vuldb.com/?id.344636
- https://vuldb.com/?submit.745263
Get alerted when CVE-2026-2069 or the next vulnerability affects your stack