Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Hugging Face | ggml-rpc | v0.0.0 – ≤ v1.0.0 | — |