Source: mosquitto X-Debbugs-CC: [email protected] Severity: grave Tags: security
Hi, The following vulnerabilities were published for mosquitto. CVE-2026-110486[0]: | 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. https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-6j8m-r32v-4h38 CVE-2026-126706[1]: | In Eclipse Mosquitto versions 2.1.0 to 2.1.2, the mosquitto_ctrl | utility would crash if attempting to interact with a hostile broker | and the broker sent a non-string "error" value. https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-c9wr-998w-8wf5 CVE-2026-126763[2]: | In Eclipse Mosquitto versions 1.6 to 2.0.22 and 2.1.0 to 2.1.2, an | MQTT v5.0 client connecting with a will-delay-interval that | subsequently disconnects with a shorter interval causes all delayed | wills to be suppressed. https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-5vjv-953v-pwfq CVE-2026-129705[3]: | In Eclipse Mosquitto versions 2.1.0 to 2.1.2, a broker with a | listener that is configured to use the PROXY protocol v2 is | vulnerable to an untrusted proxy providing details that cause the | broker to accept fake SSL information. This can be mitigated by | following the documented requirements for PROXY listeners: It is | very important that only trusted proxies are allowed to connect to | any listener using the PROXY protocol, and that clients are not | allowed to connect to the listener at all. https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-m6rg-rrm7-h727 CVE-2026-129149[4]: | In Eclipse Mosquitto versions 2.1.0 to 2.1.2, using the | mosquitto_ctrl utility in interactive shell mode to interact with a | malicious server could result in a crash of the utility if the | server sent a hostile response. https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-cp35-mcf9-93ww If you fix the vulnerabilities please also make sure to include the CVE (Common Vulnerabilities & Exposures) ids in your changelog entry. For further information see: [0] https://security-tracker.debian.org/tracker/CVE-2026-110486 https://www.cve.org/CVERecord?id=CVE-2026-110486 [1] https://security-tracker.debian.org/tracker/CVE-2026-126706 https://www.cve.org/CVERecord?id=CVE-2026-126706 [2] https://security-tracker.debian.org/tracker/CVE-2026-126763 https://www.cve.org/CVERecord?id=CVE-2026-126763 [3] https://security-tracker.debian.org/tracker/CVE-2026-129705 https://www.cve.org/CVERecord?id=CVE-2026-129705 [4] https://security-tracker.debian.org/tracker/CVE-2026-129149 https://www.cve.org/CVERecord?id=CVE-2026-129149 Please adjust the affected versions in the BTS as needed.

