{"id":"CVE-2026-17500","state":"PUBLISHED","title":"ggml-org llama.cpp json-schema-to-grammar.cpp _visit_pattern null pointer dereference","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.","publishedAt":"2026-07-27T00:15:12.222Z","updatedAt":"2026-07-27T18:03:26.332Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"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","source":"VulDB"},"assigner":"VulDB","products":["ggml-org llama.cpp"],"affected":[{"vendor":"ggml-org","product":"llama.cpp","versions":[{"version":"d006858","status":"affected"},{"version":"e15efe0","status":"affected"}],"cpes":["cpe:2.3:a:ggml-org:llama.cpp:*:*:*:*:*:*:*:*"]}],"references":["https://vuldb.com/vuln/383353","https://vuldb.com/vuln/383353/cti","https://vuldb.com/cve/CVE-2026-17500","https://vuldb.com/submit/798503","https://github.com/ggml-org/llama.cpp/issues/25284","https://github.com/ggml-org/llama.cpp/pull/25308","https://github.com/ggml-org/llama.cpp/"],"weaknesses":["CWE-476","CWE-404"],"ingestedAt":"2026-10-29T20:11:00.674Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/17xxx/CVE-2026-17500.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-17500","state":"PUBLISHED","datePublished":"2026-07-27T00:15:12.222Z","dateUpdated":"2026-07-27T18:03:26.332Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2026-07-26T17:33:41.700Z"},"containers":{"cna":{"title":"ggml-org llama.cpp json-schema-to-grammar.cpp _visit_pattern null pointer dereference","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"ggml-org","product":"llama.cpp","versions":[{"version":"d006858","status":"affected"},{"version":"e15efe0","status":"affected"}],"cpes":["cpe:2.3:a:ggml-org:llama.cpp:*:*:*:*:*:*:*:*"]}],"references":[{"url":"https://vuldb.com/vuln/383353","name":"VDB-383353 | ggml-org llama.cpp json-schema-to-grammar.cpp _visit_pattern null pointer dereference","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/383353/cti","name":"VDB-383353 | CTI Indicators (IOB, IOC, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2026-17500","name":"CVE-2026-17500 | CVE Analysis and Report","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/798503","name":"Submit #798503 | ggml-org llama.cpp confirmed on commit d006858 / 2025-04-03 and commit e15efe0 / tag b8635+1) Reachable Assertion","tags":["third-party-advisory"]},{"url":"https://github.com/ggml-org/llama.cpp/issues/25284","tags":["issue-tracking"]},{"url":"https://github.com/ggml-org/llama.cpp/pull/25308","tags":["issue-tracking","patch"]},{"url":"https://github.com/ggml-org/llama.cpp/","tags":["product"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":6.9,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":5.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_0":{"version":"3.0","baseScore":5.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV2_0":{"version":"2.0","baseScore":5,"vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P/E:ND/RL:ND/RC:UR"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","type":"CWE","lang":"en","description":"NULL Pointer Dereference"}]},{"descriptions":[{"cweId":"CWE-404","type":"CWE","lang":"en","description":"Denial of Service"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2026-07-27T00:15:12.222Z"},"timeline":[{"time":"2026-07-26T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2026-07-26T02:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2026-07-26T19:38:55.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"m00dy (VulDB User)","type":"reporter"},{"lang":"en","value":"VulDB CNA Team","type":"coordinator"}],"x_generator":["VulDB PVTS v202607"]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-27T18:03:09.823962Z","id":"CVE-2026-17500","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-27T18:03:26.332Z"}}]}}}