← Back to the monthly list · Eclipse Foundation →
CVE-2026-110486 Eclipse Foundation · Eclipse Mosquitto
AI summary
Eclipse Mosquitto 2.1 through 2.1.2 listeners using protocol websockets mishandle empty WebSocket data frames, causing uninitialised heap memory disclosure and a heap out-of-bounds write. The write is reachable from the CONNECT packet before authentication (even with allow_anonymous false), letting a remote attacker crash the broker, and combined with the leak achieve code execution as the broker user. Critical (CVSS 9.8); patch urgently.
Official 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.
- Published
- 2026-11-18 11:17 UTC
- Modified
- 2026-11-24 19:10 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 1.27% (percentile 70)
- ENISA EUVD
- EUVD-2026-128524
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
- CWE
- CWE-191
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-6j8m-r32v-4h38 - gitlab.eclipse.org
https://gitlab.eclipse.org/security/cve-assignment/-/work_items/399 - gitlab.eclipse.org
https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/521 - www.openwall.com
http://www.openwall.com/lists/oss-security/2026/11/17/14