AI Stack Alert Critical CVE-2026-131837 For CISO, SOC / IR, AppSec, AI Eng AI-assisted
ZDI-26-1079: llama.cpp server use-after-free allows unauthenticated remote code execution (CVE-2026-131837)
A use-after-free flaw in llama.cpp's server_context_impl affects the server's handling of HTTP requests during the sleep transition. Remote attackers can exploit it without authentication to execute code in the context of the service account. llama.cpp has released an update that corrects the vulnerability.
Why it matters
Any exposed llama.cpp server running an affected version can be reached without credentials. An attacker who succeeds gains code execution as the service account, which may expose models, data, and internal network access.
Do this
- Identify all llama.cpp server deployments and their versions, including embedded or bundled copies.
- Update affected llama.cpp installations to the fixed build referenced in upstream pull request 32133.
- Restrict network access to llama.cpp HTTP endpoints so they are not reachable from untrusted networks until patched.
- Review logs for unexpected HTTP requests to llama.cpp servers around sleep or idle transitions and investigate anomalies.
Exploit Clock
No signals yet
- No exploitation signals yet
Signals
- NoCISA KEV
- 43/100Priority
- 80%Confidence
Evidence
“This vulnerability allows remote attackers to execute arbitrary code on affected installations of llama.cpp. Authentication is not required to exploit this vulnerability.”
“llama.cpp has issued an update to correct this vulnerability. More details can be found at:”
Sources
Affected / related
llama.cpp, llama.cpp server, ggml-org, Zero Day Initiative
Published 2026-11-24 06:00 UTC · updated 2026-11-24 20:06 UTC · AI-assisted summary, checked against quoted sources · How we score