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

Medium 6.9 Published Updated

A remote attacker can cause a denial of service in llama.cpp via a null pointer dereference in the JSON schema to grammar converter.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-17500?

CVE-2026-17500 is a medium-severity vulnerability in ggml-org llama.cpp, published on 27 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-476, CWE-404

Which versions are affected by CVE-2026-17500?

How do I fix CVE-2026-17500?

No fix has been published for CVE-2026-17500 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-17500 being exploited?

There is no known exploitation of CVE-2026-17500 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-17500, GHSA-92r6-r5fj-xg82, UBUNTU-CVE-2026-17500.

Is CVE-2026-17500 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free