# CVE-2026-110486: Remote heap out-of-bounds read/write in Eclipse Mosquitto

- Severity: Critical 9.8 (CVSS:3.1, scored by eclipse) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.10%, higher than 66% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-18T10:15:09.085Z
- Modified: 2026-11-24T19:10:01.980Z
- Weaknesses: CWE-191, CWE-787, CWE-908
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Eclipse Foundation Eclipse Mosquitto: from 2.1 up to 2.1.2

## References

- <https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/521> (exploit)
- <https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-6j8m-r32v-4h38>
- <https://gitlab.eclipse.org/security/cve-assignment/-/work_items/399>
- <http://www.openwall.com/lists/oss-security/2026/11/17/14>

## Sources

- CVE List: [CVE-2026-110486](https://www.cve.org/CVERecord?id=CVE-2026-110486), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-110486](https://nvd.nist.gov/vuln/detail/CVE-2026-110486), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-110486 · Whole record: https://cve.day/CVE-2026-110486.json · Rebuilt by cve.day 2026-11-25T22:59:51.777Z
