Skip to main content
VulnerabilityPublished

CVE-2026-134540: ggml-org llama.cpp · Improper Input Validation

Affects ggml-org llama.cppSource CVE Database V5

0
Compare

Public exploit available · CVSS 6.9 Medium.

Data as of 21 Nov 2026, 23:24 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulDB)CVSS 4.06.9
CNA (VulDB)CVSS 3.15.3
CNA (VulDB)CVSS 3.05.3
CNA (VulDB)CVSS 2.05.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
ggml-orgllama.cppAffected
  • =0.7.0-dev
Fixed in–

CPE configurations (1)

  • cpe:2.3:a:ggml-org:llama.cpp:*:*:*:*:*:*:*:*

AI-suggested

Upgrade the affected ggml-org llama.cpp component from version 0.7.0-dev to version b12405 or later, which contains the official patch (commit 9f26fe11c73c7e74a5e99e7f1b6370ad8e1cb22d) that mitigates this vulnerability. No other mitigation actions are indicated by the vendor advisory.

Description

CVE-2026-134540 is a medium severity vulnerability in ggml-org llama.cpp version 0.7.0-dev. It involves improper input validation in the common_sampler_init function within the llama-server component. The flaw allows remote attackers to manipulate the grammar_triggers[].type argument, potentially leading to security issues. A patch identified by commit 9f26fe11c73c7e74a5e99e7f1b6370ad8e1cb22d is available in version b12405, which mitigates the vulnerability. Public exploit code has been disclosed, but no known exploitation in the wild has been reported.

References

Community reviews

Loading reviews…