CVE-2026-110486 Remote heap out-of-bounds read/write in Eclipse Mosquitto
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- Ubuntu
Description
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.
Upgrade path
5 packages: 1 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/mosquitto(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/mosquitto(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/mosquitto(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/mosquitto(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| Eclipse Foundation Eclipse Mosquitto | >= 2.1, <= 2.1.2 | after 2.1.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Eclipse Foundation Eclipse Mosquitto | >= 2.1, <= 2.1.2 | No fix listed |
| ubuntu/mosquitto(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/mosquitto(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/mosquitto(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/mosquitto(Ubuntu:26.10) | All versions | No fix listed |
References
- gitlab.eclipse.org exploit
- github.com
- gitlab.eclipse.org
- www.openwall.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-128524 third-party-advisory