A flaw has been found in ggml-org llama.cpp up to 55abc39...
Moderate severity
Unreviewed
Published
Feb 7, 2026
to the GitHub Advisory Database
•
Updated Feb 7, 2026
Description
Published by the National Vulnerability Database
Feb 6, 2026
Published to the GitHub Advisory Database
Feb 7, 2026
Last updated
Feb 7, 2026
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.
References