ggml-org llama.cpp llama-server sampling.cpp common_sampler_init input validation
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-134540 llama.cpp No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-134540 llama.cpp No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vuldb.com
- advisory vuldb.com
- advisory vuldb.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- patch github.com
- report vuldb.com
- report github.com
- report gist.github.com
- web github.com
- web github.com
- web github.com