CVE-2026-110486: In Eclipse Mosquitto Integer Underflow
Published 2026-11-18 · Updated 2026-11-24 · Source emo@eclipse.org
Remotely exploitable without authentication — apply the vendor fix or mitigation as a priority.
What to do
- The advisory lists versions through 2.1.2 as affected and does not name a fixed release. Check the references below for a newer version of In Eclipse Mosquitto or a vendor mitigation.
- Until it is patched, do not leave In Eclipse Mosquitto reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Avoid processing untrusted input with the affected component until it is updated.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| In Eclipse Mosquitto | ≤ 2.1.2 | Not stated in the advisory |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality, integrity and availability is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | High | Total loss of integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: Integer Underflow
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.
Advisory text as published in the NVD record.
References
- Advisoryhttps://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-6j8m-r32v-4h38
- Advisoryhttps://gitlab.eclipse.org/security/cve-assignment/-/work_items/399
- Advisoryhttps://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/521
- Advisoryhttps://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/521
- Referencehttp://www.openwall.com/lists/oss-security/2026/11/17/14