Skip to content
MediumVulnerabilityLLM-specific

CVE-2026-134540: A security vulnerability has been detected in ggml-org llama.cpp 0.7.0-dev. This affects the function…

Identifier
CVE-2026-134540
Published
Record updated
View JSON

Summary

CVE-2026-134540 affects ggml-org llama.cpp 0.7.0-dev, specifically the function common_sampler_init in common/sampling.cpp of the llama-server component. Manipulating the argument grammar_triggers[].type leads to improper input validation, and the attack can be launched remotely. The exploit has been publicly disclosed and may be used.

Mitigation

Upgrading to version b12405 mitigates this issue. The patch is 9f26fe11c73c7e74a5e99e7f1b6370ad8e1cb22d. It is advisable to upgrade the affected component.