Source: llama.cpp X-Debbugs-CC: [email protected] Severity: normal Tags: security
Hi, The following vulnerability was published for llama.cpp. CVE-2026-134540[0]: | A security vulnerability has been detected in ggml-org llama.cpp | 0.7.0-dev. This affects the function common_sampler_init of the file | common/sampling.cpp of the component llama-server. Such manipulation | of the argument grammar_triggers[].type leads to improper input | validation. It is possible to launch the attack remotely. The | exploit has been disclosed publicly and may be used. Upgrading to | version b12405 mitigates this issue. The name of the patch is | 9f26fe11c73c7e74a5e99e7f1b6370ad8e1cb22d. It is advisable to upgrade | the affected component. https://github.com/ggml-org/llama.cpp/issues/30835 https://github.com/ggml-org/llama.cpp/pull/31478 https://github.com/ggml-org/llama.cpp/commit/9f26fe11c73c7e74a5e99e7f1b6370ad8e1cb22d (b12405) If you fix the vulnerability please also make sure to include the CVE (Common Vulnerabilities & Exposures) id in your changelog entry. For further information see: [0] https://security-tracker.debian.org/tracker/CVE-2026-134540 https://www.cve.org/CVERecord?id=CVE-2026-134540 Please adjust the affected versions in the BTS as needed.

