CVE-2026-134540: ggml-org llama.cpp llama-server sampling.cpp common_sampler_init input validation

Published Nov 21, 2026
·
Updated

A security vulnerability has been detected in ggml-org llama.cpp 0.7.0-dev. This affects the function commonsamplerinit of the file common/sampling.cpp of the component llama-server. Such manipulation of the argument grammartriggers[].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.

Affected Software

1 affected component
ggml-org llama.cpp=0.7.0-dev

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ggml-org/llama.cpp to a version that resolves this vulnerability.

    Fixed in b12405Patch 9f26fe11c73c7e74a5e99e7f1b6370ad8e1cb22d

Event History

Nov 21, 2026
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 PM
DescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203