{"id":"CVE-2026-134540","aliases":[],"cve":{"records":[{"id":"CVE-2026-134540","source":"VulDB","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-11-21T03:24:59.582Z","published":"2026-11-21T23:00:23.320Z","modified":"2026-11-23T15:42:33.769Z"}],"publishers":[{"name":"VulDB","role":"CNA","organizationId":"1af790b2-7ee1-4545-860a-a788eba489b5","modified":"2026-11-21T23:00:23.320Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-23T15:42:33.769Z"}],"references":[{"url":"https://vuldb.com/vuln/441681","tags":["vdb-entry","technical-description"],"source":"VulDB"},{"url":"https://vuldb.com/vuln/441681/cti","tags":["signature","permissions-required"],"source":"VulDB"},{"url":"https://vuldb.com/cve/CVE-2026-134540","tags":["third-party-advisory"],"source":"VulDB"},{"url":"https://vuldb.com/submit/1052496","tags":["third-party-advisory"],"source":"VulDB"},{"url":"https://github.com/ggml-org/llama.cpp/issues/30835","tags":["issue-tracking"],"source":"VulDB"},{"url":"https://github.com/ggml-org/llama.cpp/pull/31478","tags":["issue-tracking","patch"],"source":"VulDB"},{"url":"https://gist.github.com/Yunzez/90b17f91d7f1955805e0045a1a76fb6d#file-repro_llamacpp_grammar_triggers_abort-py","tags":["exploit"],"source":"VulDB"},{"url":"https://github.com/ggml-org/llama.cpp/commit/9f26fe11c73c7e74a5e99e7f1b6370ad8e1cb22d","tags":["patch"],"source":"VulDB"},{"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b12405","tags":["patch"],"source":"VulDB"},{"url":"https://github.com/ggml-org/llama.cpp/","tags":["product"],"source":"VulDB"}],"weaknesses":[{"id":"CWE-20","description":"Improper Input Validation","source":"VulDB"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-23T15:42:21.039090Z","decisions":[{"name":"Exploitation","value":"poc"},{"name":"Automatable","value":"yes"},{"name":"Technical Impact","value":"partial"}]}]},"title":"ggml-org llama.cpp llama-server sampling.cpp common_sampler_init input validation","titleSource":"VulDB","descriptionSource":"VulDB","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.","score":6.9,"severity":"medium","published":"2026-11-21T23:00:23.320Z","modified":"2026-11-23T15:42:33.769Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"ggml-org","name":"llama.cpp","platforms":[],"versions":[{"version":"0.7.0-dev","status":"affected"},{"version":"b12405","status":"unaffected"}],"cpes":["cpe:2.3:a:ggml-org:llama.cpp:*:*:*:*:*:*:*:*"],"source":"VulDB","url":"https://www.cve.org/CVERecord?id=CVE-2026-134540"}],"remediation":[],"references":["https://vuldb.com/vuln/441681","https://vuldb.com/vuln/441681/cti","https://vuldb.com/cve/CVE-2026-134540","https://vuldb.com/submit/1052496","https://github.com/ggml-org/llama.cpp/issues/30835","https://github.com/ggml-org/llama.cpp/pull/31478","https://gist.github.com/Yunzez/90b17f91d7f1955805e0045a1a76fb6d#file-repro_llamacpp_grammar_triggers_abort-py","https://github.com/ggml-org/llama.cpp/commit/9f26fe11c73c7e74a5e99e7f1b6370ad8e1cb22d","https://github.com/ggml-org/llama.cpp/releases/tag/b12405","https://github.com/ggml-org/llama.cpp/"],"sources":[{"name":"CVE","id":"CVE-2026-134540","modified":"2026-11-23T15:42:33.769Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-134540"}],"assessments":[{"source":"VulDB","vector":"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","score":6.9},{"source":"VulDB","vector":"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","score":5.3},{"source":"VulDB","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C","score":5.3},{"source":"VulDB","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C","score":5}],"sourceAffected":[],"observedAt":"2026-11-23T15:56:41.821Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T19:30:31.152Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-21T23:20:32.522Z","attemptedAt":"2026-11-21T23:20:32.522Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-21T23:20:32.714Z","attemptedAt":"2026-11-21T23:20:32.714Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-21T23:20:32.144Z","attemptedAt":"2026-11-21T23:20:32.144Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-21T23:20:33.105Z","attemptedAt":"2026-11-21T23:20:33.105Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-134540","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134540","modified":"2026-11-21T23:16:55.180","score":5.5,"vector":"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","checkedAt":"2026-11-21T23:20:32.522Z"},{"source":"NVD","id":"CVE-2026-134540","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134540","modified":"2026-11-21T23:16:55.180","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","checkedAt":"2026-11-21T23:20:32.522Z"},{"source":"NVD","id":"CVE-2026-134540","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134540","modified":"2026-11-21T23:16:55.180","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","checkedAt":"2026-11-21T23:20:32.522Z"}],"aiSummary":{"text":"A vulnerability in ggml-org llama.cpp 0.7.0-dev affects the common_sampler_init function, allowing improper input validation via the grammar_triggers[].type argument. This can be exploited remotely. Upgrading to version b12405 may mitigate the issue.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-21T23:16:03.068Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-134540"}]}}