Technical impact
The vulnerability lies in the ggml RPC server of llama.cpp, specifically between release tags b11450 and b12658. An out‑of‑bounds write is triggered when an attacker sends an RPC_CMD_COPY_TENSOR command that references a zero‑element destination tensor, allowing a write to a heap address below a buffer base. The write can crash the server or, if crafted correctly, execute attacker supplied code. This flaw is classified as CWE‑787, which signifies a vulnerability that permits a memory corruption resulting in arbitrary write capability.
Affected Systems
The affected product is ggml-org's llama.cpp. All versions from b11450 up to and including the pre‑b12658 releases are vulnerable. The bug is present in the RPC implementation that processes copy tensor commands.
Risk and Exploitability
The CVSS score of 9.3 reflects a high risk of remote exploitation. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, so the current exploitation probability is unknown. The attack vector is remote: unauthenticated users can reach the vulnerable RPC endpoint, learn buffer bases via BUFFER_GET_BASE, and then trigger the out‑of‑bounds write, potentially leading to remote code execution. Because the flaw grants an arbitrary heap write, any affected deployment that exposes the RPC interface to untrusted networks is at significant risk and should remediate immediately.