CRITICAL 9.2 NVD
CVE-2026-39909
llama.cpp before b8585 contains a use-after-free vulnerability in the RPC server's GRAPH_RECOMPUTE handler that allows unauthenticated remote attackers to achie
llama.cpp before b8585 contains a use-after-free vulnerability in the RPC server's GRAPH_RECOMPUTE handler that allows unauthenticated remote attackers to achieve arbitrary read and write access by storing a computation graph, freeing referenced buffers, and reclaiming freed memory with attacker-controlled content. Attackers can send RPC requests to trigger re-execution of stored graphs with dangling pointers, enabling full remote code execution without requiring authentication or user interaction.
References
- https://github.com/ggml-org/llama.cpp/commit/389c7d4955ba55c7418afaebf7c23d9ed64ef707
- https://github.com/ggml-org/llama.cpp/pull/21175
- https://github.com/ggml-org/llama.cpp/releases/tag/b8585
- https://www.vulncheck.com/advisories/llama-cpp-use-after-free-in-rpc-graph-recompute-handl
This critical severity vulnerability with a CVSS score of 9.2 was published on 2026-08-21 via NVD.
Risk Timeline
CVE Disclosed2026-08-21 · -1 days ago
Remediation Resources
vulnfeed aggregates 11627 vulnerabilities from NVD, CISA KEV,
Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.