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.
Metrics
CVSS 3.1 3.3/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LWeakness enumeration
Affected software
No affected versions have been published.
Timeline
- Published
- Feb 6, 2026
- Last modified
- Jun 17, 2026
- NVD status
- Deferred