Database/AI/ML frameworks & serving

llama.cpp: uncontrolled recursion in JSON-schema-to-grammar conversion crashes the server
Impact
A crafted JSON schema drives unbounded recursion in the schema-to-grammar converter and takes the process down. That converter is the path llama.cpp uses to turn a caller-supplied JSON schema into a decoding grammar, so on a llama-server deployment the input arrives with an ordinary completion request; the record does not spell out the reachable entry point beyond naming the file. Impact is availability only - no memory corruption or data disclosure is claimed. On a GPU node this costs the loaded model's warm weights and VRAM state, and a restart on a large model is minutes of lost serving capacity, repeatable by the same caller.
Who can reach it
Anyone who can send a completion request carrying a JSON schema to a llama.cpp server. NVD scores it network-reachable and unauthenticated (AV:N/PR:N), which matches an exposed llama-server with no gateway or auth in front of it; behind an authenticating proxy the caller must be an authorized tenant.
What to do
Upgrade past build b5693 and restart the server process - the record states only that 'b5693 and before' is vulnerable and names no fixed build, so pin to a current release rather than a version invented here. No node drain or reboot is involved; each affected inference daemon restarts on its own. Until then, reject or depth-limit client-supplied JSON schemas at the gateway.
References
Related entries
- Ollama (quantization engine): Unauthenticated remote information disclosure — reads and exfiltrates model dataCVE-2026-5757 · Ollama (quantization engine)High
- NVIDIA NemoClaw for Linux: installer downloads code without an integrity checkCVE-2026-65097 · NVIDIA NemoClaw for Linux (installation scripts)High
- Ollama (GGUF metadata parser): Uncontrolled memory allocationCVE-2026-65315 · Ollama (GGUF metadata parser)High
- Milvus: Unauthenticated DoS terminating service componentsCVE-2026-69111 · MilvusHigh
- BentoML 1.3.9 (bundled Gradio app, /login endpoint): The /login endpoint of the integrated Gradio app processes eachNCVD-2025-016-bentoml-1-3-9-bundled-gradio-app · BentoML 1.3.9 (bundled Gradio app, /login endpoint)High
- UpTrain: authenticated remote code execution via the checks and metadata parameters on /create_projectCVE-2025-27770 · UpTrain dashboard backend (/create_project endpoint)High
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.