Skip to main content

ggml-rpc EUVDEUVD-2026-133449

| CVE-2026-132615 HIGH
Improper Clearing of Heap Memory Before Release ('Heap Inspection') (CWE-244)
2026-11-23 certcc GHSA-4w2f-5v2w-fvgq
7.5
CVSS 3.1 · Vendor: certcc
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to shared ggml-rpc server as client
  2. Exploit
    Request new buffer via alloc_buffer
  3. Execution
    Read uninitialized heap via get_tensor
  4. Impact
    Recover other clients' model weights or KV-cache

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Improper clearing of heap data
Exploitation Conditions

Requires network reachability to a running ggml-rpc server (the ggml/llama.cpp RPC backend) that is shared by more than one client, because the leaked stale heap originates from other clients' previously freed allocations; a single-user server would mostly leak the attacker's own prior data. The server is unauthenticated by design (PR:N confirmed), so no credentials are needed once reachable. Exploitation proceeds by calling alloc_buffer to obtain a buffer with uncleared contents and then get_tensor to read it back (an in-bounds read, not an out-of-bounds overread). LIMITING FACTORS: the RPC server is an optional, non-default distributed-inference feature typically bound to trusted LANs rather than the public internet; meaningful cross-tenant disclosure depends on multi-client/multi-tenant use and on sensitive data (model weights, KV-cache) having recently occupied the freed heap; affected to ggml-rpc ≤ v1.0.0 per EUVD.

Impact

CVSS 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) reflects a network-reachable, unauthenticated, low-complexity confidentiality-only flaw - no integrity or availability impact. The multi-source signals temper this high base score: EPSS is only 0.24% (15th percentile), the CVE is NOT on CISA KEV, so exploitation status is 'no public exploit identified at time of analysis' for confirmed in-the-wild activity, though a public PoC reference (a technical write-up) exists that is not verified as working exploit code. The vuln.today priority is 'this_week' rather than act_now/emergency, consistent with a serious but not actively-exploited info-leak. The real-world risk is gated by an architectural precondition the CVSS vector does not capture: the ggml-rpc server is an optional, authentication-free distributed-inference backend intended for trusted networks, and cross-client data recovery requires a shared/multi-tenant deployment. So while CVSS reports PR:N/AV:N correctly, the practical exposure depends on whether such a server is reachable and shared by multiple tenants - a targeted multi-tenant-inference concern rather than a mass-internet threat. Net: a genuine confidentiality issue worth prompt patching for anyone running shared ggml-rpc servers, but the low EPSS and absence of KEV argue against emergency treatment.

Exploit ScenarioDerived

An attacker able to reach a multi-tenant ggml-rpc inference server connects as an unauthenticated client and requests a fresh buffer via alloc_buffer, which hands back memory still holding stale contents from a previously freed allocation; the attacker then reads that buffer back with get_tensor (an in-bounds read) to recover another tenant's model weights or KV-cache data. CVSS AV:N/AC:L/PR:N means no authentication or special timing is needed once the server is reachable. A public PoC reference (a technical write-up) exists; it is not verified as working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 25, 2026

Unauthenticated remote memory disclosure in the ggml RPC backend (ggml-rpc, tracked by CPE as hugging_face:ggml-rpc and listed by EUVD as ggml-rpc v0.0.0 through v1.0.0) lets a newly connected client read heap buffers that the server never cleared, so stale contents of previously freed allocations - such as model weights or KV-cache data belonging to other clients - can be recovered through get_tensor. The root cause is CWE-244 (improper clearing of heap memory before reuse / heap inspection) and the vendor-independent score is CVSS 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N), a confidentiality-only impact with no integrity or availability effect. Practical exposure requires a network-reachable RPC server that is shared by more than one client, since the leaked data originates from other clients' freed allocations; EPSS is 0.24% (15th percentile), no public exploit code has been identified at time of analysis, and the referenced public write-up documents the shared-server heap leak rather than a verified working exploit.

RemediationAI

No vendor-released patch and no fixed version are identified at time of analysis, so the complete fix - clearing (zeroing) buffers in alloc_buffer before handing them to a client, or otherwise sanitizing recycled heap regions - must come from upstream; track https://nvd.nist.gov/vuln/detail/CVE-2026-132615 and the upstream ggml/llama.cpp repository for a release that addresses CWE-244, and treat the advisory write-up at https://m00dy.sh/notes/when-a-shared-rpc-server-hands-back-uncleared-heap as supplementary detail. Until then, the effective controls follow from the fact that the RPC server has no authentication by design: do not expose the ggml-rpc port beyond a trusted, isolated network segment, and preferably bind it to loopback or an internal interface and firewall it from all untrusted hosts, accepting that this removes the cross-host distributed-inference capability that the feature exists to provide. Where distributed inference must span hosts, tunnel the RPC traffic through an authenticated, encrypted transport such as WireGuard or an SSH tunnel, with the trade-off of added setup and per-connection overhead. Restrict each server to a single trusted client or single tenant so that buffers recycled from one workload cannot contain another party's model weights or KV-cache, which sacrifices multi-tenant sharing. Keep sensitive models and prompt/KV-cache data off shared RPC servers for the interim, since any co-resident client on the same unauthenticated server can read what was previously freed, and prioritize remediation within this week per the current priority assessment.

Affected VersionsENISA

ggml-rpc v0.0.0 ≤v1.0.0

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

ggml is the tensor library underneath llama.cpp and related inference stacks, and its RPC backend lets one process offload layers or tensors to a remote server so multiple machines can jointly host a model. The RPC protocol is unauthenticated by design, which is why the vector is PR:N and any host that can reach the listening port can issue commands. In the alloc_buffer command the server reserves a buffer for the requesting client but does not zero or otherwise sanitize it, so the region can still hold data from allocations that were previously freed and recycled by the ggml memory pools. Because ggml/llama.cpp reuse freed regions for later allocations, a new client's buffer may contain remnants of another client's tensors, and get_tensor then returns that buffer's contents over the wire. This is an in-bounds read of memory the server legitimately owns for that client, not an out-of-bounds overread, so bounds checking alone does not address it; the fix has to be zeroing or otherwise clearing buffers at allocation time. The flaw is CWE-244 (heap inspection through failure to clear memory before reuse). Exploitability is constrained by deployment: the RPC backend is an optional, non-default distributed-inference feature normally bound to a trusted LAN, and a server serving a single client largely returns that client's own prior data, so meaningful cross-client disclosure depends on multi-client or multi-tenant use and on sensitive material having recently occupied the freed heap. The precise heap layout and reuse behavior that makes a specific leak reliable are not described in the available sources.

Know when Ggml Rpc 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

Vendor (certcc) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

Remote unauthenticated client, no interaction, low complexity in-bounds read; confidentiality-only leak of sensitive weights/KV-cache gives C:H, with I:N/A:N as no modification or disruption occurs.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (certcc).

CVSS VectorVendor: certcc

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
CVSS changed
Nov 25, 2026 - 16:22 NVD
7.5 (HIGH)
CVE Published
Nov 23, 2026 - 21:33 cve.org
HIGH 7.5
CVE Published
Nov 23, 2026 - 21:33 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

The ggml-rpc server suffers from an uninitialized heap memory disclosure vulnerability where the alloc_buffer function provides new clients with buffers containing stale data from previously freed allocations. This allows an unauthenticated remote attacker to perform an in-bounds read via get_tensor to recover sensitive information, such as model weights or KV-cache data, belonging to other clients sharing the same server.

Executive ViewAI

Why It Matters

A high-severity unauthenticated memory disclosure vulnerability in the ggml RPC backend (versions v0.0.0 through v1.0.0) allows a newly connected client to read stale heap data from previously freed memory, potentially exposing other clients' model weights or KV-cache. This is most relevant for organizations running shared, network-accessible RPC servers with multiple concurrent clients, where proprietary or sensitive model data could leak.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; restrict network access to RPC servers, segment deployments, and limit concurrent clients to reduce exposure.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Low
optional RPC backend of llama.cpp/ggml, rarely exposed in production
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy