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.
Product
ubuntu/mosquitto vulnerabilities
29 published CVES affecting ubuntu/mosquitto, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 29
- Critical
- 3
- High
- 17
- Medium
- 9
- Low
- 0
- Unscored
- 0
- CISA KEV
- 0
Latest ubuntu/mosquitto CVEs
Newest publication first · page 1 of 2
-
HighCVSS 7.5 EPSS 0.22%
-
HighCVSS 7.5 EPSS 0.22%
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.
-
HighCVSS 7.5 EPSS 0.21%
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.
-
CriticalCVSS 9.8 EPSS 1.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 payloa...
-
CriticalCVSS 9.1 EPSS 0.18%
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 req...
-
CriticalCVSS 9.8 EPSS 0.17%
In Eclipse Mosquitto versions 2.0.0 to 2.0.22 and 2.1.0 to 2.1.2, the return value of password hash functions for sha512-pbkdf2 and legacy sha512 were not checked. Starting with OpenSSL 4.0, sha512-pbkdf2 hashing will fail when using the FIPS provider for passwords shorter than 8...
-
CVE-2026-130491 Uninitialized heap disclosure in CONNECT through Will payload length truncation
PublishedHighCVSS 7.5 EPSS 0.23%In Eclipse versions 1.5-1.6.13, 2.0.0-2.0.22 and 2.1.0-2.1.2, the client library libmosquitto does not reject Will messages with payloads greater than 65535 bytes when calling mosquitto_will_set() or mosquitto_will_set_v5(). This results in up to 65535 bytes of uninitialised heap...
-
MediumCVSS 6.0 EPSS 0.75%
In Eclipse Mosquito, versions from 2.0.0 through 2.0.18, if a Mosquitto broker is configured to create an outgoing bridge connection, and that bridge connection has an incoming topic configured that makes use of topic remapping, then if the remote connection sends a crafted PUBLI...
-
HighCVSS 7.2 EPSS 59.2%
In Eclipse Mosquitto, from version 1.3.2 through 2.0.18, if a malicious broker sends a crafted SUBACK packet with no reason codes, a client using libmosquitto may make out of bounds memory access when acting in its on_subscribe callback. This affects the mosquitto_sub and mosquit...
-
CVE-2024-8376 Memory leak
PublishedHighCVSS 7.2 EPSS 0.75%In Eclipse Mosquitto up to version 2.0.18a, an attacker can achieve memory leaking, segmentation fault or heap-use-after-free by sending specific sequences of "CONNECT", "DISCONNECT", "SUBSCRIBE", "UNSUBSCRIBE" and "PUBLISH" packets.
-
CVE-2023-5632 Unconditionally adding an event to the epoll causes excessive CPU consumption
PublishedHighCVSS 7.5 EPSS 0.80%In Eclipse Mosquito before and including 2.0.5, establishing a connection to the mosquitto server without sending data causes the EPOLLOUT event to be added, which results excessive CPU consumption. This could be used by a malicious actor to perform denial of service type attack....
-
HighCVSS 7.5 EPSS 0.79%
In Mosquitto before 2.0.16, a memory leak occurs when clients send v5 CONNECT packets with a will message that contains invalid property types.
-
MediumCVSS 5.3 EPSS 0.71%
In Mosquitto before 2.0.16, excessive memory is allocated based on malicious initial packets that are not CONNECT packets.
-
HighCVSS 7.5 EPSS 1.3%
The broker in Eclipse Mosquitto 1.3.2 through 2.x before 2.0.16 has a memory leak that can be abused remotely when a client sends many QoS 2 messages with duplicate message IDs, and fails to respond to PUBREC commands. This occurs because of mishandling of EAGAIN from the libc se...
-
HighCVSS 7.5 EPSS 1.4%
In versions 1.6 to 2.0.11 of Eclipse Mosquitto, an MQTT v5 client connecting with a large number of user-property properties could cause excessive CPU usage, leading to a loss of performance and possible denial of service.
-
MediumCVSS 5.3 EPSS 1.3%
In Eclipse Mosquitto versions 2.0 to 2.0.11, when using the dynamic security plugin, if the ability for a client to make subscriptions on a topic is revoked when a durable client is offline, then existing subscriptions for that client are not revoked.
-
HighCVSS 7.5 EPSS 1.2%
In Eclipse Mosquitto versions 2.0.7 and earlier, the server will crash if the client tries to send a PUBLISH packet with topic length = 0.
-
MediumCVSS 6.5 EPSS 1.1%
In Eclipse Mosquitto version 1.6 to 2.0.10, if an authenticated client that had connected with MQTT v5 sent a crafted CONNECT message to the broker a memory leak would occur, which could be used to provide a DoS attack against the broker.
-
MediumCVSS 6.5 EPSS 0.97%
In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with MQTT v5 sent a crafted CONNACK message to the broker, a NULL pointer dereference would occur.
-
HighCVSS 7.5 EPSS 1.8%
In Eclipse Mosquitto version from 1.0 to 1.4.15, a Null Dereference vulnerability was found in the Mosquitto library which could lead to crashes for those applications using the library.
-
HighCVSS 8.1 EPSS 1.5%
When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use a password file for authentication, any malformed data in the password file will be treated as valid. This typically means that the malformed data becomes a username and no password. If this occurs, clie...
-
HighCVSS 8.1 EPSS 1.4%
When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use an ACL file, and that ACL file is empty, or contains only comments or blank lines, then Mosquitto will treat this as though no ACL file has been defined and use a default allow policy. The new behaviour...
-
MediumCVSS 6.5 EPSS 0.80%
In Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) when a client publishes a retained message to a topic, then has its access to that topic revoked, the retained message will still be published to clients that subscribe to that topic in the future. In some applications this ma...
-
HighCVSS 7.5 EPSS 2.1%
In Eclipse Mosquitto 1.4.15 and earlier, a Memory Leak vulnerability was found within the Mosquitto Broker. Unauthenticated clients can send crafted CONNECT packets which could cause a denial of service in the Mosquitto Broker.
-
MediumCVSS 5.3 EPSS 1.4%
The Eclipse Mosquitto broker up to version 1.4.15 does not reject strings that are not valid UTF-8. A malicious client could cause other clients that do reject invalid UTF-8 strings to disconnect themselves from the broker by sending a topic string which is not valid UTF-8, and s...
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.