Skip to content
RedCVE

CVE-2026-134540ggml-org Llama.cpp improper input validation

ggml-orgPublished:

CVSS score

5.5

Medium

CVSS 4.0 from vuldb.com

Exploit probability (EPSS)

0.65%

0.65% chance of exploitation in the next 30 days, higher than 52.0% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: cna@vuldb.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running ggml-org Llama.cpp and compare its version with the affected versions.

  2. Watch for an official fix

    No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low

Values in red make the vulnerability easier to exploit or more damaging. 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected products

Affected productsVersions
ggml-org Llama.cpp0.7.0-dev

Weakness

  • CWE-20 improper input validation

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-134540 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.6% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-134540?

CVE-2026-134540 has a CVSS 4.0 base score of 5.5 (medium).

Which versions are affected?

Ggml Org Llama.cpp (0.7.0-dev)

Is there a patch for CVE-2026-134540?

No patch is linked in the official record yet. Watch the vendor's security advisories.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.