CVE-2026-110486
published critical CVSS 3.1 · 9.8Remote heap out-of-bounds read/write in Eclipse Mosquitto
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Eclipse Foundation | — | Eclipse Mosquitto2.1 through 2.1.2 · Other versions: unaffected | Affected | Not stated | eclipse |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- eclipse · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Eclipse Foundation | Eclipse Mosquitto | 2.1 through 2.1.2 (affected · custom)Default: unaffected | eclipse · cna |
Weaknesses
3- CWE-787 CWE-787 Out-of-bounds Write
- CWE-908 CWE-908 Use of Uninitialized Resource
- CWE-191 CWE-191 Integer Underflow (Wrap or Wraparound)
References
4Provider assertions
3eclipse · cna
Remote heap out-of-bounds read/write in Eclipse Mosquitto
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 166f3fbcc2cc75cf6053bcfcab40372af31dedff00956f73c76ddf67c6c17143
- Ingested
- 19 Nov 2026, 21:23:12 UTC
- Source record
- Official CVE record