CVE-2026-17501: Uncontrolled Recursion in ggml-org llama.cpp
Affects ggml-org llama.cppSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium.
Data as of 10/25/2026, 04:40:11 UTC
- Exploitation
Not in CISA KEV, no exploitation reported
- 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:XWhat 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
A pull request to fix the issue is pending acceptance. Until an official fix is released, users should monitor vendor communications for updates and consider limiting exposure of the affected component to untrusted inputs.
Description
A flaw has been found in ggml-org llama.cpp e15efe0. This vulnerability affects the function transform of the file common/json-schema-to-grammar.cpp of the component JSON-Schema-to-GBNF Conversion. This manipulation causes uncontrolled recursion. The attack may be initiated remotely. The pull request to fix this issue awaits acceptance.
Impact
Successful exploitation of this vulnerability can cause uncontrolled recursion leading to resource exhaustion or denial of service. The attack can be initiated remotely without privileges or user interaction. There are no reports of active exploitation in the wild at this time.
References
- vuldb.com/vuln/383354 (opens in a new tab)
- vuldb.com/vuln/383354/cti (opens in a new tab)
- vuldb.com/cve/CVE-2026-17501 (opens in a new tab)
- vuldb.com/submit/798504 (opens in a new tab)
- github.com/ggml-org/llama.cpp/issues/25283 (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)