Description
llama.cpp b2877 before b11935 contains an uncaught exception vulnerability in the ggml-rpc server that allows unauthenticated remote attackers to crash the rpc-server by sending oversized message lengths. After the HELLO handshake, attackers can send a command such as SET_TENSOR with a length above std::vector::max_size(), triggering an uncaught std::length_error that aborts the process and denies service to all clients.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| ggml-org | llama.cpp | >= b2877, < b11935 |
References
- https://github.com/ggml-org/llama.cppProduct
- https://github.com/ggml-org/llama.cpp/blob/8542e94350f0ade01644db6f1d1520da3814dafd/ggml/src/ggml-rpc/ggml-rpc.cpp#L344-L356Release Notes
- https://github.com/ggml-org/llama.cpp/commit/7ecb57f7adbea2928aa468ad2aecf05b10725ad4Patch
- https://github.com/ggml-org/llama.cpp/pull/31204Issue Tracking, Patch
- https://github.com/ggml-org/llama.cpp/releases/tag/b11935Product, Release Notes
- https://www.vulncheck.com/advisories/llama-cpp-b2877-before-b11935-ggml-rpc-server-dos-via-oversized-recv-msg-lengthExploit, Patch, Vendor Advisory
Timeline
- Published
- Oct 29, 2026
- Last modified
- Nov 18, 2026
- NVD status
- Analyzed