CVE-2026-78147

ggml-org llama.cpp ggml-RPC Server ggml-rpc.cpp deserialize_tensor deserialization

Published Aug 23, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability is a deserialization flaw in the ggml-RPC Server’s deserialize_tensor function, triggered by manipulation of the op/op_params arguments. This flaw can allow an attacker to supply crafted data that is deserialized without proper validation, opening the possibility to execute arbitrary code or compromise the server. The weakness follows CWE-20 (Improper Input Validation) and CWE-502 (Deserialization of Untrusted Data). According to the description, the attack can be initiated remotely, meaning that an external actor could target the server over the network.

Affected Systems

Any installation of the ggml-org llama.cpp project that includes the ggml-RPC Server component is potentially affected. No specific release or version range is listed in the advisory, so all current builds that expose this RPC interface should be considered vulnerable until a patched version is available.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity. The EPSS score is not available, so the current estimated exploitation probability cannot be quantified. The vulnerability is not listed in the CISA KEV catalogue. Because the flaw is triggered by crafted RPC input, the attack vector is remote, requiring network connectivity to the server’s RPC endpoint. Successful exploitation would allow an attacker to control the deserialization process and potentially run arbitrary code in the context of the server process.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to the latest llama.cpp release that includes the fix for ggml-RPC deserialize_tensor
  • Validate the op and op_params inputs strictly before passing them to deserialization code
  • Restrict or disable the RPC interface to trusted networks only, or remove it if it is not required

Generated by OpenCVE AI on August 24, 2026 at 00:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title ggml-org llama.cpp ggml-RPC Server ggml-rpc.cpp deserialize_tensor deserialization
First Time appeared Ggml-org
Ggml-org llama.cpp
Weaknesses CWE-20
CWE-502
CPEs cpe:2.3:a:ggml-org:llama.cpp:*:*:*:*:*:*:*:*
Vendors & Products Ggml-org
Ggml-org llama.cpp
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:ND/RL:ND/RC:UR'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R'}

cvssV4_0

{'score': 6.9, 'vector': '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/E:X'}

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Aug 27, 2026, 2:37 PM
Reserved
Aug 23, 2026, 6:39 AM
Status
Deferred
Published
Aug 23, 2026, 11:16 PM
Modified
Oct 12, 2026, 4:10 PM