CVEfocus › CVE database › CVE-2026-110486

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

CVSS 9.8 CriticalEPSS 1.3% (higher than 70% of CVEs)Published 2026-11-18Updated 2026-11-19Assigner: eclipse

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.

CWE-191CWE-787CWE-908

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

7Fix pending
2Under investigation

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10mosquittoFix pendingUBUNTU-CVE-2026-110486
Ubuntu 26.04mosquittoUnder investigationUBUNTU-CVE-2026-110486
Ubuntu 24.04mosquittoFix pendingUBUNTU-CVE-2026-110486
Ubuntu 22.04mosquittoUnder investigationUBUNTU-CVE-2026-110486
Ubuntu 20.04mosquittoFix pendingUBUNTU-CVE-2026-110486
Ubuntu 18.04mosquittoFix pendingUBUNTU-CVE-2026-110486
Ubuntu 16.04mosquittoFix pendingUBUNTU-CVE-2026-110486
Ubuntu 14.04mosquittoFix pendingUBUNTU-CVE-2026-110486
Debian 14mosquittoFix pendingDEBIAN-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.

References

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.