Database/AI/ML frameworks & serving

llama.cpp llama-server: use-after-free on the vocab pointer during idle sleep gives unauthenticated RCE
Impact
An unauthenticated caller who can reach the inference endpoint can race a request against the server's transition into idle sleep, causing worker threads to dereference a freed vocab pointer that can be reclaimed with attacker-controlled data. The advisory states this reaches arbitrary code execution in the llama-server process. On a GPU node that means code running with whatever identity the serving process holds - typically with the GPU devices already mapped in and, in a Kubernetes deployment, with the pod's service-account token and any mounted model or credential volumes. Idle-sleep is exactly the feature operators enable on shared or bursty inference fleets, so the vulnerable window recurs on every quiet period.
Who can reach it
Anyone who can send HTTP requests to llama-server. No authentication is required, and llama-server has no auth of its own by default - so exposure is whatever the network policy in front of the pod or the host allows. Only builds with --sleep-idle-seconds enabled are affected.
What to do
The record covers builds b7492 through b9060 and does not name a fixed build, so do not assume the latest tag is safe without checking the upstream advisory. The immediate mitigation is to stop passing --sleep-idle-seconds and restart llama-server, which closes the race without a node drain; the process restart drops in-flight sessions and re-warms the model into VRAM. Also confirm the endpoint is not reachable from tenant networks.
References
Related entries
- Ray (`/log_proxy`): SSRF from the dashboardCVE-2023-48023 · Ray (`/log_proxy`)Critical
- Qdrant (snapshot recovery): Arbitrary file read and write during snapshot recoveryCVE-2024-3829 · Qdrant (snapshot recovery)Critical
- ONNX (`download_model`): Arbitrary file overwriteCVE-2024-7776 · ONNX (`download_model`)Critical
- MLflow (pyfunc tar extraction): Arbitrary file write from crafted tar entriesCVE-2025-15031 · MLflow (pyfunc tar extraction)Critical
- NVIDIA Triton (HTTP server): Attacker can start a reverse shell from the HTTP serverCVE-2025-23317 · NVIDIA Triton (HTTP server)Critical
- SGLang (expert-parallel backup ZMQ PULL): Unauthenticated, unvalidated deserialization on a routable interfaceCVE-2026-14890 · SGLang (expert-parallel backup ZMQ PULL)Critical
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.