CVE-2026-17501 Details
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.
A vulnerability has been identified in ggml-org llama.cpp, specifically in commit e15efe0. The issue arises in the JSON-Schema-to-GBNF conversion function, where the converter can recurse indefinitely on deeply nested schema elements. This uncontrolled recursion can lead to a stack overflow, causing the application to crash. The vulnerability can be exploited remotely by crafting a JSON schema with excessive nesting, which the converter will process without depth limitations.
A pull request has been submitted to address this vulnerability by enforcing a maximum recursion depth in the JSON-Schema-to-GBNF converter.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 27, 2026CISA-ADP
Assessed Jul 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ggml-org/llama.cpp/ | [email protected] | Source CodeVendor |
| https://github.com/ggml-org/llama.cpp/issues/25283 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/ggml-org/llama.cpp/pull/25308 | [email protected] | Issue TrackingVendor |
| https://vuldb.com/cve/CVE-2026-17501 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/798504 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/383354 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/383354/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-404 | Improper Resource Shutdown or Release | [email protected] |
| CWE-674 | Uncontrolled Recursion | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ggml-org llama.cpp | e15efe0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Jul 29, 2026 | CVE Modified | [email protected] |
| Jul 27, 2026 | CVE Modified | CISA-ADP |
| Jul 27, 2026 | New CVE Received | [email protected] |
Volerion