๐Ÿ” CVE Alert

CVE-2026-39909

HIGH 8.1

llama.cpp Use-After-Free in RPC GRAPH_RECOMPUTE Handler

CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-416
Vendor ggml-org
Product llama.cpp
Published Aug 21, 2026
Stay Ahead of the Next One

Get instant alerts for ggml-org llama.cpp

Be the first to know when new high vulnerabilities affecting ggml-org llama.cpp are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

ggml-org / llama.cpp
0 < b8585

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/ggml-org/llama.cpp/releases/tag/b8585 github.com: https://github.com/ggml-org/llama.cpp/pull/21175 github.com: https://github.com/ggml-org/llama.cpp/commit/389c7d4955ba55c7418afaebf7c23d9ed64ef707 vulncheck.com: https://www.vulncheck.com/advisories/llama-cpp-use-after-free-in-rpc-graph-recompute-handler

Credits

Olivier Laflamme