CVE Catalog

CVE-2026-39909

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.77%

53th percentile - higher than 53% of all known CVEs

Summary

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 and full remote code execution.

Risk Assessment

An attacker can fully compromise the RPC server, potentially leading to loss of confidentiality, integrity, and availability of the system.

Recommendation

Upgrade llama.cpp to version b8585 or later, which includes a fix for the use-after-free vulnerability.

Other vulnerabilities in llama.cpp

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS