๐Ÿ” CVE Alert

CVE-2026-134540

MEDIUM 5.3

ggml-org llama.cpp llama-server sampling.cpp common_sampler_init input validation

CVSS Score
5.3
EPSS Score
0.6%
EPSS Percentile
52th

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.

CWE CWE-20
Vendor ggml-org
Product llama.cpp
Published Nov 21, 2026
Last Updated Nov 23, 2026
Stay Ahead of the Next One

Get instant alerts for ggml-org llama.cpp

Be the first to know when new medium vulnerabilities affecting ggml-org llama.cpp are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

ggml-org / llama.cpp
0.7.0-dev

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
vuldb.com: https://vuldb.com/vuln/441681 vuldb.com: https://vuldb.com/vuln/441681/cti vuldb.com: https://vuldb.com/cve/CVE-2026-134540 vuldb.com: https://vuldb.com/submit/1052496 github.com: https://github.com/ggml-org/llama.cpp/issues/30835 github.com: https://github.com/ggml-org/llama.cpp/pull/31478 gist.github.com: https://gist.github.com/Yunzez/90b17f91d7f1955805e0045a1a76fb6d#file-repro_llamacpp_grammar_triggers_abort-py github.com: https://github.com/ggml-org/llama.cpp/commit/9f26fe11c73c7e74a5e99e7f1b6370ad8e1cb22d github.com: https://github.com/ggml-org/llama.cpp/releases/tag/b12405 github.com: https://github.com/ggml-org/llama.cpp/

Credits

๐Ÿ” Zyz3366 (VulDB User)