# CVE-2026-17500: ggml-org llama.cpp json-schema-to-grammar.cpp _visit_pattern null pointer dereference

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-07-27T00:15:12.222Z
- Modified: 2026-10-24T13:10:00.147Z
- Weaknesses: CWE-404, CWE-476
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- ggml-org llama.cpp: d006858; e15efe0

## Every score

- VulDB: CVSS:4.0 6.9 Medium `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`
- VulDB: CVSS:3.1 5.3 Medium `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`
- VulDB: CVSS:3.0 5.3 Medium `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`
- VulDB: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P/E:ND/RL:ND/RC:UR`

## References

- <https://vuldb.com/vuln/383353> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/383353/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-17500> (third-party-advisory)
- <https://vuldb.com/submit/798503> (third-party-advisory)
- <https://github.com/ggml-org/llama.cpp/issues/25284> (issue-tracking)
- <https://github.com/ggml-org/llama.cpp/pull/25308> (issue-tracking, patch)
- <https://github.com/ggml-org/llama.cpp/> (product)

## Sources

- CVE List: [CVE-2026-17500](https://www.cve.org/CVERecord?id=CVE-2026-17500), CVE Terms of Use, modified 2026-07-27
- NVD: [CVE-2026-17500](https://nvd.nist.gov/vuln/detail/CVE-2026-17500), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-17500 · Whole record: https://cve.day/CVE-2026-17500.json · Rebuilt by cve.day 2026-11-25T22:59:30.167Z
