CVE-2026-17500 Details
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.
A null pointer dereference vulnerability has been identified in ggml-org llama.cpp commits d006858 and e15efe0. The issue arises in the function _visit_pattern within common/json-schema-to-grammar.cpp, where improper handling of crafted JSON-Schema patterns leads to a crash. This vulnerability can be exploited remotely by supplying a malicious JSON schema that includes unsupported regex constructs, such as lookarounds, which trigger the null pointer dereference.
A pull request to fix this vulnerability has been submitted and is awaiting acceptance.
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/25284 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/ggml-org/llama.cpp/pull/25308 | [email protected] | Issue TrackingVendor |
| https://vuldb.com/cve/CVE-2026-17500 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/798503 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/383353 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/383353/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-404 | Improper Resource Shutdown or Release | [email protected] |
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ggml-org llama.cpp | d006858 e15efe0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Jul 27, 2026 | CVE Modified | CISA-ADP |
| Jul 27, 2026 | New CVE Received | [email protected] |
Volerion