CVE-2026-17500ggml-org llama.cpp json-schema-to-grammar.cpp _visit_pattern null pointer dereference
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | llama.cpp | Fix pending | UBUNTU-CVE-2026-17500 | |
| Ubuntu 26.04 | llama.cpp | Under investigation | UBUNTU-CVE-2026-17500 | |
| Debian 14 | llama.cpp | Fix pending | DEBIAN-CVE-2026-17500 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ggml-org llama.cpp: affected: d006858, e15efe0
Vendor advisories:
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/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.