जमा करें #745263: llama.cpp commit 55abc39 Stack-based Buffer Overflowजानकारी

शीर्षकllama.cpp commit 55abc39 Stack-based Buffer Overflow
विवरणA stack-based buffer overflow (stack overflow) vulnerability existed in the GBNF grammar handling logic of llama.cpp. When processing specific grammar constructs, the function `llama_grammar_advance_stack()` could enter unbounded recursive expansion because it lacked adequate recursion/cycle protection beyond checking for an empty stack. In particular, a crafted GBNF file containing nested repetition patterns (for example `(...*)*`) could cause the function to repeatedly create new stack states and recursively call itself until the program’s call stack was exhausted. This results in a crash detected by AddressSanitizer and can be exploited as a denial-of-service condition when an application loads attacker-controlled grammar files. The vendor has since addressed the issue.
स्रोत⚠️ https://github.com/ggml-org/llama.cpp/issues/18988
उपयोगकर्ता
 TYGLS (UID 94774)
सबमिशन23/01/2026 04:29 AM (8 महीनों पहले)
संयम06/02/2026 08:41 AM (14 days later)
स्थितिस्वीकृत
VulDB प्रविष्टि344636 [ggml-org llama.cpp तक 55abc39 GBNF Grammar llama-grammar.cpp llama_grammar_advance_stack बफ़र ओवरफ़्लो]
अंक20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!