Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed ggml-RPC network port
-
DeliveryCraft tensor payload with malformed op/op_params
-
ExploitSend deserialization request to RPC server
-
ExecutionBypass unvalidated input in deserialize_tensor
-
ImpactTrigger partial confidentiality, integrity, or availability impact
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | The ggml-RPC server must be running and reachable over the network - this component is not enabled by default in standard llama.cpp builds and must be explicitly compiled and launched. Per the CVSS 4.0 PR:N rating, no authentication is required once the RPC port is accessible. No user interaction is required. Exploitation is limited to environments where the ggml-RPC listener is bound to a network interface accessible to the attacker; deployments binding only to loopback are not exposed to remote exploitation. The vulnerability affects the specific commit bec4772f6; whether it affects earlier or later commits beyond the explicit partial fix in PR #20908 is not confirmed from available data. |
| Impact | The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:N) indicates the highest-severity access conditions: network-reachable, low complexity, no privileges, no user interaction, no attack prerequisites. However, real-world risk is moderated by deployment context: the ggml-RPC server is a specialized component typically enabled only in distributed inference setups and is unlikely to be exposed to public networks in standard deployments. No EPSS score was provided in the input data; this is a meaningful gap since EPSS would help quantify exploitation probability against observed threat telemetry. No KEV listing and no confirmed POC further reduce urgency relative to the raw CVSS score. The GitHub issue closure due to inactivity suggests limited researcher or vendor engagement, which may indicate either low exploitability in practice or insufficient attention rather than confirmed safety. The partial impact ratings (VC:L/VI:L/VA:L, no subsequent-system impact) suggest constrained blast radius even if exploited. Overall: genuine network-exploitable flaw, but real-world priority is conditional on whether the RPC server is network-exposed - environments running ggml-RPC should treat this as a priority; others face minimal risk. |
| Exploit ScenarioDerived | An attacker with network access to an exposed ggml-RPC server sends a crafted RPC request to the tensor deserialization endpoint, supplying a malformed or out-of-range value for the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 23, 2026
Improper input validation in llama.cpp's ggml-RPC Server allows remote unauthenticated attackers to send crafted deserialization payloads targeting the deserialize_tensor function, affecting the op and op_params arguments in ggml/src/ggml-rpc/ggml-rpc.cpp at commit bec4772f6. The CVSS 4.0 score of 6.9 (AV:N/AC:L/PR:N/UI:N) reflects network-accessible exploitation with partial confidentiality, integrity, and availability impact on the vulnerable system. No public exploit code or active exploitation (CISA KEV) has been identified at time of analysis, and the originating GitHub issue was closed due to inactivity.
RemediationAI
No vendor-released patch addressing op and op_params validation in deserialize_tensor has been confirmed at time of analysis - the GitHub issue was closed due to inactivity without a confirmed fix. PR #20908 (CVE-2026-34159) provides only a partial mitigation (null buffer rejection) and must not be treated as a complete fix for this vulnerability. The most effective compensating control is to avoid exposing the ggml-RPC server to untrusted networks: bind the RPC listener to loopback (127.0.0.1) rather than 0.0.0.0, and enforce firewall or network ACL rules to restrict access to the RPC port to trusted hosts only. These network-layer controls directly address the AV:N attack vector without code changes but do not eliminate the underlying validation flaw. Organizations requiring distributed inference over untrusted segments should consider mutual TLS authentication on the RPC channel as an additional control. Monitor https://github.com/ggml-org/llama.cpp for upstream commits addressing input validation in ggml-rpc.cpp. Reference: https://github.com/ggml-org/llama.cpp/issues/25289 and https://vuldb.com/vuln/394534.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
llama.cpp is a C/C++ inference engine for large language models developed by ggml-org. Its ggml-RPC component enables distributed and remote tensor computation by exposing an RPC server interface over the network. The vulnerable function deserialize_tensor in ggml/src/ggml-rpc/ggml-rpc.cpp processes incoming tensor operation descriptors, including the operation type (op) and operation parameters (op_params). CWE-20 (Improper Input Validation) identifies the root cause: neither field is adequately validated before being consumed downstream in the deserialization pipeline. This is explicitly distinct from CVE-2026-34159 (GHSA-j8rj-fmpv-wcxw, PR #20908), which added only a buffer==nullptr rejection in create_node() and leaves op and op_params entirely unvalidated. An attacker who can reach the RPC listener can supply arbitrary values for these fields, potentially triggering out-of-bounds access, type confusion, or other memory-safety violations depending on how downstream code consumes unvalidated operation parameters.
Know when the next one hits your stack
- 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:L/VI:L/VA:L/SC:N/SI:N/SA:N
Network-accessible RPC endpoint with no authentication (PR:N); partial C/I/A impact consistent with CVSS 4.0 VC:L/VI:L/VA:L; scope unchanged as no cross-system impact indicated.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was found in ggml-org llama.cpp bec4772f6. The impacted element is the function deserialize_tensor of the file ggml/src/ggml-rpc/ggml-rpc.cpp of the component ggml-RPC Server. Performing a manipulation of the argument op/op_params results in deserialization. The attack may be initiated remotely. This vulnerability is distinct from CVE-2026-34159 (GHSA-j8rj-fmpv-wcxw, PR #20908), which only added a buffer==nullptr rejection in create_node() and does not validate op or op_params. 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
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
EUVD-2026-64671
GHSA-f4vj-w5xq-5xph
NVD
CVE.org
EPSS
VulDB
Exploit-DB