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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ggml-org | llama.cpp | b2877 – < b11935 | b11935 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | llama.cpp | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | llama.cpp | No fix yet | — |
| Ubuntu 26.04 LTS | llama.cpp | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | llamacpp | 0.8.0-1.1 | openSUSE-SU-2026:12366-1 |
Advisories 1
- openSUSE-SU-2026:12366-1 ggml-devel-0.8.0-1.1 on GA media SUSE / openSUSE Security Updates · Oct 31, 2026
References
- https://github.com/ggml-org/llama.cpp/pull/31204 patch issue-tracking
- Patch Commit patch
- https://github.com/ggml-org/llama.cpp product
- llama.cpp b11935 Release Notes release-notes
- https://github.com/ggml-org/llama.cpp/blob/8542e94350f0ade01644db6f1d1520da3814dafd/ggml/src/ggml-rpc/ggml-rpc.cpp#L344-L356 technical-description
- VulnCheck Advisory: llama.cpp b2877 before b11935 ggml-rpc Server DoS via Oversized recv_msg Length third-party-advisory