Vulnerability · Published Feb 6, 2026 · Assigned by VulDB

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

Low 3.3

In plain English

A low-severity stack buffer overflow in llama.cpp from ggml-org. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities).

Severity (CVSS 3.1)3.3Low
Exploit odds (30 days)0.1%top 96.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:14llama.cppno fix listedDEBIAN-CVE-2026-2069
Ubuntu:25.10llama.cppno fix listedUBUNTU-CVE-2026-2069
Ubuntu:26.04:LTSllama.cppno fix listedUBUNTU-CVE-2026-2069
Ubuntu:26.10llama.cppno fix listedUBUNTU-CVE-2026-2069

Affected products (as reported)

VendorProductVersions
ggml-org llama.cpp 55abc39

Weakness: CWE-121, CWE-119 · 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

References