{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-134540 exists.","exposure":"An affected version is exposed as installed. No special setting or call is needed.","fix":"No fix has been published for CVE-2026-134540 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-134540 is a medium-severity other vulnerability in ggml-org llama.cpp, published on 21 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-134540 and fix it if it is affected.\n\nWhat it is: CVE-2026-134540 is a medium-severity other vulnerability in ggml-org llama.cpp, published on 21 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-134540 exists.\nExposure: An affected version is exposed as installed. No special setting or call is needed.\n\nAffected product: ggml-org llama.cpp. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-134540/ (Markdown: https://insights.sbomify.com/CVE-2026-134540/index.md)","id":"CVE-2026-134540","markdown":"https://insights.sbomify.com/CVE-2026-134540/index.md","name":"CVE-2026-134540","record":{"aliases":["DEBIAN-CVE-2026-134540","GHSA-3c6w-v5cw-pq7q","UBUNTU-CVE-2026-134540"],"analysis":{"component_type":"server_software","exploitable_when_present":false,"fix_type":"upgrade","impacts":["other"],"network_reachable":"yes","non_default_config":false,"product_category":"LLM inference server","requires_auth":"none","requires_specific_call":false,"summary":"Remote attackers can send crafted grammar trigger types to llama-server due to improper input validation.","user_interaction":"not_required","vuln_class":"other","vulnerable_functions":["common_sampler_init"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"VulDB","component":null,"cpe":[{"criteria":[{"cpe":"cpe:2.3:a:ggml-org:llama.cpp:*:*:*:*:*:*:*:*","source":"cna","version_end_including":"0.7.0-dev","version_start_including":"0.7.0-dev"}],"n_criteria":1,"name":null,"product":"llama.cpp","vendor":"ggml-org"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"ggml-org llama.cpp llama-server sampling.cpp common_sampler_init input validation","id":"CVE-2026-134540","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":10,"n_vendor_status":0,"next":{"headline":"Surya2Developer Online Shopping System GET Parameter product.php sql injection","id":"CVE-2026-134541"},"nickname":null,"packages":[],"prev":{"headline":"Drakeling Labs Operation Harsh Doorstop Workshop Configuration LaunchURL unrestricted upload","id":"CVE-2026-134536"},"products":["llama.cpp"],"published":"2026-11-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-23","vendor_status":[],"vendors":["ggml-org"]},"summary":"Remote attackers can send crafted grammar trigger types to llama-server due to improper input validation.","url":"https://insights.sbomify.com/CVE-2026-134540/"}