CVE-2026-110486
Published:November 18, 2026
Updated:November 23, 2026
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.
Affected Packages
https://github.com/eclipse-mosquitto/mosquitto.git (GITHUB):
Affected version(s) =2.1.0rc1 <v2.1.3 || >=v2.1.0rc2 <v2.1.3Fix Suggestion:
Update to version v2.1.3Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
1.10