Live threats

All CVEs / Eclipse Foundation

CVE-2026-110486Eclipse Foundation Eclipse Mosquitto

Memory corruption and remote code execution in Eclipse Mosquitto

Critical 9.8 No auth needed

Priority
79
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Nov 18, 2026
Updated
Nov 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-191, CWE-787, CWE-908
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Eclipse Mosquitto 2.1 through 2.1.2 with WebSockets enabled mishandles empty WebSocket frames, exposing uninitialized memory and allowing out-of-bounds writes. An unauthenticated remote client can cause memory corruption, information disclosure, and remote code execution as the broker's user.

AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

No patch data

Disable WebSockets if not required or restrict network access. Check Eclipse security advisory for available updates.

Vendor advisory · github.com ↗

AI-generated from public data; not reviewed.

  1. Apply the vendor's security update for Eclipse Mosquitto.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.