Amenazas en vivo

Todas las CVE / Eclipse Foundation

CVE-2026-110486Eclipse Foundation Eclipse Mosquitto

Corrupción de memoria y ejecución remota de código en Eclipse Mosquitto

Crítica 9.8 Sin autenticación

Prioridad
79
CVSS 3.1
9.8
EPSS
—
Requiere autenticación
No
Publicada
18 nov 2026
Actualizada
24 nov 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-191, CWE-787, CWE-908
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Qué pasa

Eclipse Mosquitto 2.1 a 2.1.2 con WebSockets habilitado procesa incorrectamente tramas WebSocket vacías, exponiendo memoria no inicializada y permitiendo escrituras fuera de límites. Un cliente remoto sin autenticación puede causar corrupción de memoria, divulgación de información y ejecución remota de código como el usuario del broker.

Resumen generado con IA (Claude) a partir de los datos de NVD y CISA. Nadie lo revisó todavía: verifica los detalles en el aviso del fabricante.

Ver el texto original de NVD (en inglés)

In Eclipse Mosquitto versions 2.1 through 2.1.2, a listener configured with `protocol websockets` mishandles empty WebSocket data frames. `net__read_ws()` in `lib/net_ws.c` returns the number of framing bytes consumed (the 4 masking-key bytes) for a data frame with a zero-length payload, without writing any bytes to the caller’s buffer. The MQTT packet reader in `packet__read_single()` (`lib/packet_mosq.c`) trusts that return value as a payload byte count. A remote client can therefore advance the read position over an uninitialised heap allocation, causing the broker to process and forward uninitialised heap memory (information disclosure, including heap and libc pointers), and can underflow the unsigned `to_process` counter so that subsequent attacker-controlled frame data is written past the end of the allocation (heap out-of-bounds write). The out-of-bounds write is reachable from the CONNECT packet before any authentication check, so an unauthenticated client can corrupt the heap and crash the broker even when `allow_anonymous false` is set. Combining the disclosure and the write allows remote code execution as the broker’s user by any client able to establish a session.

Texto de la fuente, sin modificar. NVD.

Qué hacer

Sin datos de parche

Desactiva WebSockets si no es necesario o restringe el acceso a la red. Consulta el aviso de seguridad de Eclipse para actualizaciones disponibles.

Aviso del fabricante · github.com ↗

Generado con IA a partir de los datos públicos; sin revisar.

  1. Aplica la actualización de seguridad del fabricante para Eclipse Mosquitto.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Productos afectados

Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.