إرسال #1052496: ggml-org llama.cpp (llama-server) 0.7.0-dev, build 50 Denial of Serviceالمعلومات

عنوانggml-org llama.cpp (llama-server) 0.7.0-dev, build 50 Denial of Service
الوصفA reachable assertion in the llama-server component of llama.cpp allows an attacker with access to the completion API to terminate the entire server process by submitting a crafted HTTP request. Exploitation does not require authentication when the endpoint is accessible without an API key or other access controls. The server accepts the client-supplied grammar_triggers[].type integer and casts it to common_grammar_trigger_type without validating that it represents a supported enum value. An unsupported value, such as 99, subsequently reaches the default branch of a switch statement in common_sampler_init in common/sampling.cpp, triggering GGML_ASSERT and aborting the process with SIGABRT. The surrounding C++ exception handler does not intercept this process termination. A single crafted POST request to /completion or /v1/completions can trigger the failure without requiring a grammar definition or special grammar configuration. The resulting process termination interrupts all active inference requests and makes the server unavailable until restarted. The reported path does not affect /v1/chat/completions, which removes grammar_triggers before processing. The issue was reproduced on Linux x86_64 and independently reproduced on macOS arm64. The demonstrated impact is loss of service availability.
المصدر⚠️ https://github.com/ggml-org/llama.cpp/issues/30835
المستخدم
 Zyz3366 (UID 97230)
ارسال22/10/2026 09:12 PM (29 أيام منذ)
الاعتدال21/11/2026 04:25 AM (29 days later)
الحالةتمت الموافقة
إدخال VulDB441681 [ggml-org llama.cpp 0.7.0-dev llama-server common/sampling.cpp common_sampler_init grammar_triggers[].type تجاوز الصلاحيات]
النقاط20

Do you want to use VulDB in your project?

Use the official API to access entries easily!