llamaCVEVulnerability Intelligence
/
llama.cpp

CVE-2026-118375

llama.cpp stack buffer overflow in ggml-rpc RDMA receive path

An unauthenticated remote attacker can send oversized data to crash the server or potentially run arbitrary code.

UnclearParche disponibleout-of-bounds write
Descargar PNG JSON
CVSS 4.0
9.2
Crítica
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónb11865
Exposición22 dDesde la divulgación, 27 oct 2026, 9:03 p. m.
Detección25 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada +3
Verificada
28 oct 26
3 nov 26
16 nov 26
19 nov 26
28 oct 26
2 nov 26
8 nov 26
13 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-118375 divulgada · CVSS 9.2 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0

The llama.cpp inference software, specifically its RPC server component that uses RDMA transport, is affected. An unauthenticated remote attacker can send oversized data that overflows a stack buffer, which can crash the server or potentially allow arbitrary code execution.

Affects llama.cpp builds from b8841 up to but not including b11865 that are compiled with RDMA support for the ggml-rpc transport. Fixed in b11865.

¿Qué significa?An oversized RDMA completion received by the ggml-rpc transport is copied into a 1-byte stack buffer in rpc_serve_client without a length check. This overflows the buffer and corrupts stack memory.
¿Quién está afectado?The affected range is llama.cpp b8841 up to but not including b11865. The bug is in the RDMA receive path (rdma_recv), which is compiled only when RDMA support is enabled, so check the llama.cpp build version and whether the build was configured with RDMA support.
¿Qué hacer?Upgrade llama.cpp to b11865 or later, which is the first fixed build.
Descripción original del registro (VulnCheck)

llama.cpp b8841 before b11865 contains an out-of-bounds write vulnerability in the ggml-rpc RDMA transport rdma_recv() function that allows unauthenticated peers to overflow the rpc-server stack. Attackers advertising RDMA capabilities in the HELLO message can send up to 256 KiB into a 1-byte stack variable in rpc_serve_client(), crashing the server or potentially executing code.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
The bug is in the RDMA receive path (rdma_recv) of the ggml-rpc transport, which is compiled only when RDMA support is enabled.“incoming completions are copied into data without checking if wc.byte_len fits within rem”
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
llama.cpp≥ b8841 < b11865
b11865
b8841
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
llama.cpp
Corregida b11865 — —
Versiones corregidasb11865
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Parchehttps://github.com/ggml-org/llama.cpp/pull/30399
Parchehttps://github.com/ggml-org/llama.cpp/commit/9a0fde9967fa1a35b6e5dd1f47e1a3648b6fecc1
Otrahttps://github.com/ggml-org/llama.cpp/blob/620d2225cc436ab0b001e3200e590e3b286ef9ab/ggml/src/ggml-rpc/transport.cpp#L510-L528
Otrahttps://github.com/ggml-org/llama.cpp/releases/tag/b11865
Otrahttps://github.com/ggml-org/llama.cpp
Otrahttps://www.vulncheck.com/advisories/llama-cpp-b8841-before-b11865-stack-based-buffer-overflow-via-ggml-rpc-rdma-rdma-recv

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.