CVE-2026-110486Remote heap out-of-bounds read/write in Eclipse Mosquitto
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | mosquitto | Fix pending | UBUNTU-CVE-2026-110486 | |
| Ubuntu 26.04 | mosquitto | Under investigation | UBUNTU-CVE-2026-110486 | |
| Ubuntu 24.04 | mosquitto | Fix pending | UBUNTU-CVE-2026-110486 | |
| Ubuntu 22.04 | mosquitto | Under investigation | UBUNTU-CVE-2026-110486 | |
| Ubuntu 20.04 | mosquitto | Fix pending | UBUNTU-CVE-2026-110486 | |
| Ubuntu 18.04 | mosquitto | Fix pending | UBUNTU-CVE-2026-110486 | |
| Ubuntu 16.04 | mosquitto | Fix pending | UBUNTU-CVE-2026-110486 | |
| Ubuntu 14.04 | mosquitto | Fix pending | UBUNTU-CVE-2026-110486 | |
| Debian 14 | mosquitto | Fix pending | DEBIAN-CVE-2026-110486 |
What the vendor says
As published in the CVE record by eclipse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Eclipse Foundation Eclipse Mosquitto: affected: 2.1 to 2.1.2
References
- https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/521
- https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-6j8m-r32v-4h38
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/399
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.