CVE-2026-17501
published medium CVSS 4.0 · 6.9ggml-org llama.cpp JSON-Schema-to-GBNF Conversion json-schema-to-grammar.cpp transform recursion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ggml-org | — | llama.cppe15efe0 | Affected | Not stated | VulDB |
| Amazon Linux | AL2 | Release evaluationALAS2FIREFOX-2026-063 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2069 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | firefoxaarch64 | Listed in advisory | Not stated | ALAS2FIREFOX-2026-063 |
| Amazon Linux | AL2 | firefoxsrc | Listed in advisory | Not stated | ALAS2FIREFOX-2026-063 |
| Amazon Linux | AL2 | firefoxx86_64 | Listed in advisory | Not stated | ALAS2FIREFOX-2026-063 |
| Amazon Linux | AL2023 | firefoxaarch64 | Listed in advisory | Not stated | ALAS2023-2026-2069 |
| Amazon Linux | AL2023 | firefoxsrc | Listed in advisory | Not stated | ALAS2023-2026-2069 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | firefoxx86_64 | Listed in advisory | Not stated | ALAS2023-2026-2069 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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:X
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulDB · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:X/RC:R | — |
| 3.0 | 5.3 | medium | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:X/RC:R | — |
| 2.0 | 5.0 | medium | VulDB · cna | AV:N/AC:L/Au:N/C:N/I:N/A:P/E:ND/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ggml-org | llama.cpp | e15efe0 (affected) | VulDB · cna |
Weaknesses
2- CWE-674 Uncontrolled Recursion
- CWE-404 Denial of Service
References
7- https://github.com/ggml-org/llama.cpp/
- https://github.com/ggml-org/llama.cpp/issues/25283
- https://github.com/ggml-org/llama.cpp/pull/25308
- CVE-2026-17501 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-17501
- Submit #798504 | ggml-org llama.cpp (confirmed on commit e15efe0 / tag b8635+1) Uncontrolled Recursion https://vuldb.com/submit/798504
- VDB-383354 | ggml-org llama.cpp JSON-Schema-to-GBNF Conversion json-schema-to-grammar.cpp transform recursion https://vuldb.com/vuln/383354
- VDB-383354 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/383354/cti
Provider assertions
2VulDB · cna
ggml-org llama.cpp JSON-Schema-to-GBNF Conversion json-schema-to-grammar.cpp transform recursion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d9167fc05bd8fe726ba657172d40da9beb49ab6c16ce671caab0cb732d83465a
- Ingested
- 23 Sep 2026, 09:03:03 UTC
- Source record
- Official CVE record