CVE Watchtower

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

NVD

Vulnerability Summary

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.
Severity Level
MEDIUM(6.9)
Published Date
Nov 21, 2026
Last Modified
Nov 21, 2026
Exploitation Status
Public exploit available
EPSS Score (30-Day)
0.65%Probability
Root Weakness (CWE)
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required.
CVSS v4.0 Base Metrics — Score 6.9 (MEDIUM)
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
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 5.3)
CVSS v3.1 Base Metrics — Score 5.3 (MEDIUM)
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 VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityLow

Affected & Patched Versions

Affected Versions
  • ggml-org llama.cpp 0.7.0-dev
Patched Versions
No patched version published yet
Until a fix ships, reduce exposure:
  • Restrict access to the affected service or interface to trusted networks.
  • Disable the affected feature if you do not need it.
  • Watch the vendor advisory for a firmware or software update.

What to do

Prioritize this fix. Exploit code is public, so attacks can follow quickly.

  1. Check whether you run ggml-org llama.cpp and which version.
  2. No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
  3. Subscribe to the vendor advisory so you learn when a fix ships.
  4. Review logs and exposed services for signs of earlier compromise.

Timeline

  • Nov 21, 2026Published
  • Nov 21, 2026Record last modified
  • Nov 22, 2026PoC status changed: POC to UNKNOWN
  • Nov 22, 2026CVSS score changed: 6.9 to 5.5
  • Nov 22, 2026PoC status changed: POC to UNKNOWN
  • Nov 22, 2026CVSS score changed: 6.9 to 5.5
  • Nov 22, 2026PoC status changed: POC to UNKNOWN
  • Nov 22, 2026CVSS score changed: 6.9 to 5.5
  • Nov 22, 2026PoC status changed: POC to UNKNOWN
  • Nov 22, 2026CVSS score changed: 6.9 to 5.5
  • Nov 22, 2026PoC status changed: POC to UNKNOWN
  • Nov 22, 2026CVSS score changed: 6.9 to 5.5

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new ggml-org llama.cpp CVEsYou are reading CVE-2026-134540. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

More ggml-org llama.cpp CVEs

Data last checked: Nov 22, 2026 15:22 UTC