CVE-2026-17500: ggml-org llama.cpp · NULL Pointer Dereference
Affects ggml-org llama.cppSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium.
Data as of 10/25/2026, 16:58:55 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 53% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:XExploitation evidence
Disclosed: evidence found.
CVE published 27 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wild: no evidence on record.
Not in CISA KEV and no source reports exploitation
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), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| ggml-orgllama.cpp | Affected– | Fixed in– |
CPE configurations (1)
cpe:2.3:a:ggml-org:llama.cpp:*:*:*:*:*:*:*:*
AI-suggested
Users should monitor the vendor's repository or advisory channels for the acceptance and release of the fix. Until then, consider restricting access to the vulnerable functionality if possible to reduce exposure.
Description
A vulnerability was detected in ggml-org llama.cpp d006858/e15efe0. This affects the function _visit_pattern of the file common/json-schema-to-grammar.cpp. The manipulation results in null pointer dereference. The attack can be launched remotely. The pull request to fix this issue awaits acceptance.
Impact
Successful exploitation results in a null pointer dereference, which typically causes a denial of service by crashing the affected process. There is no indication of privilege escalation, data disclosure, or code execution. The vulnerability can be triggered remotely without authentication, increasing its potential impact on availability.
Summary
This vulnerability in ggml-org llama.cpp arises from improper handling in the _visit_pattern function within common/json-schema-to-grammar.cpp, leading to a null pointer dereference. The flaw can be exploited remotely without authentication or user interaction. The issue is documented under CVE-2026-17500 with a CVSS 4.0 score of 6.9 (medium severity). Although a pull request containing a fix exists, it has not yet been merged or officially released. No known exploits are reported in the wild.
References
- vuldb.com/vuln/383353 (opens in a new tab)
- vuldb.com/vuln/383353/cti (opens in a new tab)
- vuldb.com/cve/CVE-2026-17500 (opens in a new tab)
- vuldb.com/submit/798503 (opens in a new tab)
- github.com/ggml-org/llama.cpp/issues/25284 (opens in a new tab)
- github.com/ggml-org/llama.cpp/pull/25308 (opens in a new tab)
- github.com/ggml-org/llama.cpp/ (opens in a new tab)