News · ggml-org (llama.cpp) · 2 min read
Event date: · Published:
llama-server denial-of-service bug gets advisory, exploit already public
GitHub's Advisory Database published a Moderate severity advisory for llama.cpp's llama-server component, warning that a publicly disclosed exploit can crash the server remotely.
GitHub's Advisory Database published GHSA-3c6w-v5cw-pq7q on November 22, 2026, a security advisory for a denial-of-service vulnerability in llama-server, the server component of ggml-org's llama.cpp inference engine, stating that an exploit for the flaw has already been disclosed publicly.
The vulnerability in detail
- Tracked as
GHSA-3c6w-v5cw-pq7q/CVE-2026-134540, rated Moderate severity with a CVSS score of 5.5. - Affects the
common_sampler_initfunction incommon/sampling.cppwithin llama-server. - Root cause is improper validation (
CWE-20) of thegrammar_triggers[].typeargument. - Exploitation is remote with low attack complexity, and the impact is rated as availability loss (crash or denial of service).
- The affected version is
0.7.0-dev; a fix is available at buildb12405, commit9f26fe11c73c7e74a5e99e7f1b6370ad8e1cb22d. - The advisory states the exploit has been disclosed publicly and may already be in use.
Why this matters for AI builders
llama.cpp is one of the most widely deployed local and self-hosted inference engines, underpinning many AI coding assistants and agent tools that run models on a user's own hardware. A publicly known remote denial-of-service bug in its server component, llama-server, therefore touches a large swath of self-hosted AI infrastructure rather than a narrow slice of users.
Fix and next steps
Because the exploit for CVE-2026-134540 is already public, teams running llama-server on version 0.7.0-dev should update to build b12405 or later, which includes the fix at commit 9f26fe11c73c7e74a5e99e7f1b6370ad8e1cb22d, to avoid remote crashes of their inference servers.
Sources
- llama.cpp llama-server input validation flaw in grammar_triggers (CVE-2026-134540) (GitHub Advisory Database, November 22, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.