CVE-2026-2069

NameCVE-2026-2069
DescriptionA 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1128477

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
llama.cpp (PTS)forky1:1.0.0+dfsg-1fixed
sid1:1.1.0+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
llama.cppsource(unstable)8611+dfsg-11128477

Notes

https://github.com/ggml-org/llama.cpp/issues/18988
https://github.com/ggml-org/llama.cpp/pull/18993
https://github.com/ggml-org/llama.cpp/pull/18604
Fixed by: https://github.com/ggml-org/llama.cpp/commit/990e4d96980d0b016a2b07049cc9031642fb9903 (b8467, v0.1.0)

Search for package or bug name: Reporting problems