llama.cppPublished 21 Nov 2026NVD status: Awaiting Analysis

CVE-2026-134540

A security vulnerability has been detected in ggml-org llama.cpp 0.7.0-dev.

Componentllama.cpp
Severitymedium (CVSS 5.3)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published (NVD)2026-11-21
Last modified2026-11-23
Affected versions
< b12405
read from the advisory text: no structured source gives these versions yet
Fixed inb12405
WeaknessCWE-20
CISA KEVnot listed

Versions, checked against NVD

NVD's record (status: Awaiting Analysis) lists no affected versions of llama.cpp for this CVE. The ranges above are read from the advisory text: neither a GitHub-reviewed advisory nor the CVE record confirms them yet.

NVD description

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.

What to do

Sources