CVE-2026-17500
published medium CVSS 4.0 · 6.9ggml-org llama.cpp json-schema-to-grammar.cpp _visit_pattern null pointer dereference
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ggml-org | — | llama.cppd006858 · e15efe0 | Affected | Not stated | VulDB |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for 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 | d006858 (affected)e15efe0 (affected) | VulDB · cna |
Weaknesses
2- CWE-476 NULL Pointer Dereference
- CWE-404 Denial of Service
References
7- https://github.com/ggml-org/llama.cpp/
- https://github.com/ggml-org/llama.cpp/issues/25284
- https://github.com/ggml-org/llama.cpp/pull/25308
- CVE-2026-17500 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-17500
- Submit #798503 | ggml-org llama.cpp confirmed on commit d006858 / 2025-04-03 and commit e15efe0 / tag b8635+1) Reachable Assertion https://vuldb.com/submit/798503
- VDB-383353 | ggml-org llama.cpp json-schema-to-grammar.cpp _visit_pattern null pointer dereference https://vuldb.com/vuln/383353
- VDB-383353 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/383353/cti
Provider assertions
2VulDB · cna
ggml-org llama.cpp json-schema-to-grammar.cpp _visit_pattern null pointer dereference
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f3760bce754c45c7fb218b6465b8b664039a1d5ec0afafcea2022ba25a8f29e8
- Ingested
- 23 Sep 2026, 09:03:03 UTC
- Source record
- Official CVE record