CVE-2026-2069 PUBLISHED

ggml-org llama.cpp GBNF Grammar llama-grammar.cpp llama_grammar_advance_stack stack-based overflow

Assigner: VulDB
Reserved: 06.02.2026 Published: 06.02.2026 Updated: 06.02.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.

Metrics

CVSS Vector: 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
CVSS Score: 4.8

Product Status

Vendor ggml-org
Product llama.cpp
Versions
  • Version 55abc39 is affected

Credits

  • TYGLS (VulDB User) reporter

References

Problem Types

  • Stack-based Buffer Overflow CWE
  • Memory Corruption CWE