---
id: CVE-2026-119052
title: >-
  llama.cpp b2877 before b11935 ggml-rpc Server DoS via Oversized recv_msg
  Length
summary: >-
  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,
  attac…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-248
vendor: ggml-org
product: llama.cpp
affected:
  - llama.cpp >= b2877 < b11935
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-29T15:43:46.702942Z'
published: '2026-10-29'
updated: '2026-10-29'
sourceUpdated: '2026-10-29T17:19:54.661Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-119052'
references:
  - url: 'https://github.com/ggml-org/llama.cpp/pull/31204'
  - url: >-
      https://github.com/ggml-org/llama.cpp/commit/7ecb57f7adbea2928aa468ad2aecf05b10725ad4
    label: Patch Commit
  - url: 'https://github.com/ggml-org/llama.cpp'
  - url: 'https://github.com/ggml-org/llama.cpp/releases/tag/b11935'
    label: llama.cpp b11935 Release Notes
  - url: >-
      https://github.com/ggml-org/llama.cpp/blob/8542e94350f0ade01644db6f1d1520da3814dafd/ggml/src/ggml-rpc/ggml-rpc.cpp#L344-L356
  - url: >-
      https://www.vulncheck.com/advisories/llama-cpp-b2877-before-b11935-ggml-rpc-server-dos-via-oversized-recv-msg-length
    label: >-
      VulnCheck Advisory: llama.cpp b2877 before b11935 ggml-rpc Server DoS via
      Oversized recv_msg Length
tags:
  - cve.org
epss: 0.00613
epssPercentile: 0.49383
ingestedAt: '2026-11-01T22:02:40.985Z'
---

## Overview

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

- `llama.cpp >= b2877 < b11935`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
