Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed RPC server port (50052/tcp)
-
DeliveryCraft malformed tensor descriptor with invalid ne field
-
ExploitSend deserialization request to rpc_server::deserialize_tensor
-
ExecutionAssertion failure triggers abort()
-
ImpactServer process terminates (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
|
| Exploitation Conditions | Exploitation requires that the llama.cpp RPC server is explicitly compiled into the binary (non-default build flag |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms unauthenticated network exploitation with no attack complexity once the RPC server is reachable, but scores the vulnerable-system availability impact as VA:L. This appears to understate the impact: a triggered assertion causes |
| Exploit ScenarioDerived | An attacker with network access to an exposed llama.cpp RPC server sends a crafted binary RPC request where the tensor descriptor's |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 07, 2026
Unauthenticated remote denial-of-service in llama.cpp's RPC server allows a remote attacker to crash the server process by sending a crafted tensor descriptor with a manipulated ne (number-of-elements) argument to rpc_server::deserialize_tensor, triggering a reachable assertion (CWE-617) and aborting the process. Affected versions span llama.cpp up to 0.4.0 when the optional RPC server component is compiled and active. No patch has been released; the upstream GitHub issue was closed automatically due to inactivity, and no public exploit or CISA KEV listing exists at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis - the GitHub issue (https://github.com/ggml-org/llama.cpp/issues/25288) was closed automatically due to inactivity without a fix. The primary mitigation is to disable the RPC server entirely if distributed inference is not required: do not compile llama.cpp with RPC support (-DGGML_RPC=ON) and do not start llama-rpc-server. If the RPC server must remain operational, restrict its listening interface to a trusted private network or loopback only, and enforce firewall rules blocking external access to the RPC port (default 50052/tcp). Network-level filtering introduces no functional side effects for legitimate internal use. Operators should monitor the upstream repository for a patch commit to ggml/src/ggml-rpc/ggml-rpc.cpp adding input validation on the ne field prior to assertion-guarded logic.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
llama.cpp (cpe:2.3:a:ggml-org:llama.cpp:*:*:*:*:*:*:*:*) is an open-source C/C++ inference engine for large language models. Its optional RPC server component (ggml/src/ggml-rpc/ggml-rpc.cpp) enables distributed tensor offloading over the network, allowing remote compute backends to participate in inference. The rpc_server::deserialize_tensor function reconstructs a tensor object from a network-supplied binary payload, including the ne field which encodes tensor shape dimensions. CWE-617 (Reachable Assertion) means a defensive assert() or equivalent invariant check is reachable by attacker-controlled input - when triggered in a C/C++ process compiled with assertions enabled, it calls abort(), immediately terminating the server process with no opportunity for recovery within the session.
Know when Llama Cpp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Network-reachable unauthenticated RPC; assertion abort terminates the process entirely, warranting A:H over the input's VA:L.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
DescriptionCVE.org
A vulnerability was detected in ggml-org llama.cpp up to 0.4.0. This impacts the function rpc_server::deserialize_tensor of the file ggml/src/ggml-rpc/ggml-rpc.cpp of the component RPC Server. Performing a manipulation of the argument ne results in reachable assertion. The attack is possible to be carried out remotely. The reported GitHub issue was closed automatically due to inactivity.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Arbitrary memory write in llama.cpp's RPC server allows remote unauthenticated attackers to corrupt arbitrary memory add
Remote code execution in llama.cpp (commit 18c2e17) is possible when a user opens a malicious .gguf model file, triggeri
Llama.cpp server endpoints fail to validate the n_discard parameter from JSON input, allowing negative values that trigg
Remote code execution in llama.cpp (commit 18c2e17) is possible when a victim loads a malicious .gguf model file, trigge
Remote code execution in llama.cpp (GGUF library) allows attackers to achieve arbitrary code execution by tricking a use
Remote code execution in llama.cpp (commit 18c2e17) occurs when the GGUF library's gguf_fread_str function parses a mali
Heap-based buffer overflow in llama.cpp's GGUF library header parser (commit 18c2e17) enables code execution when a vict
CVE-2025-52566 is a signed vs. unsigned integer overflow vulnerability in llama.cpp's tokenizer (llama_vocab::tokenize f
Remote code execution in llama.cpp RPC backend allows unauthenticated attackers with TCP access to achieve arbitrary mem
llama.cpp provides LLM inference in C/C++. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable,
Heap buffer overflow in llama.cpp's server KV cache state-restore path (builds b4882 through b9058) lets an attacker who
Stack-based out-of-bounds write in llama.cpp's ggml-rpc RDMA receive path (builds b8841 through b11865) lets unauthentic
EUVD-2026-72459
GHSA-c676-w283-jfxr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB