CVE-2026-2069
4.8
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| ggml-org | llama.cpp | 55abc39 | affected |
Weaknesses
- CWE-121: Stack-based Buffer Overflow
- CWE-119: Memory Corruption
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
References
- https://vuldb.com/?id.344636
- https://vuldb.com/?ctiid.344636
- https://vuldb.com/?submit.745263
- https://github.com/ggml-org/llama.cpp/issues/18988
- https://github.com/ggml-org/llama.cpp/issues/18988#event-4426704865
- https://github.com/user-attachments/files/24761101/poc.zip
- https://github.com/ggml-org/llama.cpp/pull/18993
- https://github.com/ggml-org/llama.cpp/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.