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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ggml-org | llama.cpp | d006858, e15efe0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | llama.cpp | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | llama.cpp | No fix yet | — |
| Ubuntu 26.04 LTS | llama.cpp | No fix yet | — |
References
- VDB-383353 | ggml-org llama.cpp json-schema-to-grammar.cpp _visit_pattern null pointer dereference vdb-entry technical-description
- VDB-383353 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- CVE-2026-17500 | CVE Analysis and Report third-party-advisory
- Submit #798503 | ggml-org llama.cpp confirmed on commit d006858 / 2025-04-03 and commit e15efe0 / tag b8635+1) Reachable Assertion 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