PT-2026-150348
CVE-2026-110486
·
Published
2026-11-17
·
Updated
2026-12-02
Description by
CVSS 2.0
10
CriticalMetricsAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions
Eclipse Mosquitto versions 2.1 through 2.1.2
Description
A listener configured with
protocol websockets mishandles empty WebSocket data frames. The function net read ws() in lib/net ws.c returns the number of framing bytes consumed for a data frame with a zero-length payload without writing bytes to the caller buffer. The MQTT packet reader in packet read single() (lib/packet mosq.c) trusts this return value as a payload byte count. This allows a remote client to advance the read position over an uninitialised heap allocation, leading to the processing and forwarding of uninitialised heap memory, which may disclose heap and libc pointers. Additionally, it can underflow the unsigned to process counter, allowing attacker-controlled frame data to be written past the end of the allocation, resulting in a heap out-of-bounds write. This issue is reachable via the CONNECT packet before authentication, enabling an unauthenticated client to corrupt the heap and crash the broker even if allow anonymous false is configured. Combining these flaws allows remote code execution as the broker user by any client capable of establishing a session.Recommendations
As a temporary workaround, consider disabling the
protocol websockets configuration until a patch is available.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploitability
Exploit
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾