{"id":"CVE-2026-2069","published":"2026-02-06T22:02:08Z","modified":"2026-02-23T09:28:33Z","title":"ggml-org llama.cpp GBNF Grammar llama-grammar.cpp llama_grammar_advance_stack stack-based overflow","vendor":"ggml-org","product":"llama.cpp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00148,"percentile":0.04062,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"references":[{"url":"https://vuldb.com/?id.344636","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.344636","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.745263","tags":["third-party-advisory"]},{"url":"https://github.com/ggml-org/llama.cpp/issues/18988","tags":["issue-tracking"]},{"url":"https://github.com/ggml-org/llama.cpp/issues/18988#event-4426704865","tags":["issue-tracking"]},{"url":"https://github.com/user-attachments/files/24761101/poc.zip","tags":["exploit"]},{"url":"https://github.com/ggml-org/llama.cpp/pull/18993","tags":["issue-tracking","patch"]},{"url":"https://github.com/ggml-org/llama.cpp/","tags":["product"]}],"priority":{"score":8.1,"factors":[{"name":"EPSS percentile","points":0.81},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":2.31}]},"vendorSlug":"ggml-org","affectedVersions":[{"vendor":"ggml-org","product":"llama.cpp","versions":["55abc39"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-10T15:18:13.164026Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-5558","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/user-attachments/files/24761101/poc.zip"]}