Skip to content
LowVulnerabilityLLM-specific

CVE-2026-2069: ggml-org llama.cpp stack-based buffer overflow in GBNF grammar handling

Identifier
CVE-2026-2069
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.1%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

A flaw in ggml-org llama.cpp up to commit 55abc39 affects the function llama_grammar_advance_stack in llama.cpp/src/llama-grammar.cpp, part of the GBNF Grammar Handler component. Manipulating this function causes a stack-based buffer overflow, and the attack must be launched locally. A published exploit exists and may be used.

Mitigation

To fix this issue, it is recommended to deploy a patch (patch name: 18993).