← Back

Mosquitto

mosquitto

Vendor: Eclipse • 26 CVEs

CVEs (26)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
1Eclipse
1Mosquitto
Jun 17, 2026
Oct 30, 2024
6.0 MEDIUM· v4
6.5 MEDIUM· v3
N/A· v2
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 re...Show more
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 PUBLISH packet to the broker a double free will occur with a subsequent crash of the broker.Show less
1Eclipse
1Mosquitto
Jun 17, 2026
Oct 30, 2024
7.2 HIGH· v4
9.8 CRITICAL· v3
N/A· v2
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_su...Show more
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 mosquitto_rr clients.Show less
1Eclipse
1Mosquitto
Jun 17, 2026
Oct 11, 2024
7.2 HIGH· v4
7.5 HIGH· v3
N/A· v2
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 "PUBL...Show more
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.Show less
1Eclipse
1Mosquitto
Jun 17, 2026
Oct 18, 2023
N/A· v4
7.5 HIGH· v3
N/A· v2
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...Show more
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. This issue is fixed in 2.0.6 Show less
1Eclipse
1Mosquitto
Jun 17, 2026
Oct 2, 2023
N/A· v4
7.5 HIGH· v3
N/A· v2
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.
1Eclipse
1Mosquitto
Jun 17, 2026
Oct 2, 2023
N/A· v4
5.3 MEDIUM· v3
N/A· v2
In Mosquitto before 2.0.16, excessive memory is allocated based on malicious initial packets that are not CONNECT packets.
1Eclipse
1Mosquitto
Jun 17, 2026
Sep 1, 2023
N/A· v4
7.5 HIGH· v3
N/A· v2
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. T...Show more
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 send function.Show less
1Eclipse
1Mosquitto
Jun 17, 2026
Dec 1, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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 servic...Show more
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.Show less
2Eclipse
Fedoraproject
2Fedora
Mosquitto
Jun 17, 2026
Aug 30, 2021
N/A· v4
5.3 MEDIUM· v3
5.0 MEDIUM· v2
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 f...Show more
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.Show less
1Eclipse
1Mosquitto
Jul 2, 2026
Jul 27, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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.
1Eclipse
1Mosquitto
Jun 17, 2026
Jul 22, 2021
N/A· v4
6.5 MEDIUM· v3
4.0 MEDIUM· v2
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 a...Show more
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.Show less
1Eclipse
1Mosquitto
Jun 17, 2026
Apr 7, 2021
N/A· v4
6.5 MEDIUM· v3
4.0 MEDIUM· v2
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.
5Canonical
DebianEclipse+2 more
6Backports Sle
Debian LinuxFedora+3 more
Jun 17, 2026
Sep 19, 2019
N/A· v4
6.5 MEDIUM· v3
4.0 MEDIUM· v2
In Eclipse Mosquitto 1.5.0 to 1.6.5 inclusive, if a malicious MQTT client sends a SUBSCRIBE packet containing a topic that consists of approximately 65400 or more '/' characters, i.e. the topic hierarchy separator, then...Show more
In Eclipse Mosquitto 1.5.0 to 1.6.5 inclusive, if a malicious MQTT client sends a SUBSCRIBE packet containing a topic that consists of approximately 65400 or more '/' characters, i.e. the topic hierarchy separator, then a stack overflow will occur.Show less
1Eclipse
1Mosquitto
Jun 17, 2026
Sep 18, 2019
N/A· v4
5.4 MEDIUM· v3
5.5 MEDIUM· v2
If an MQTT v5 client connects to Eclipse Mosquitto versions 1.6.0 to 1.6.4 inclusive, sets a last will and testament, sets a will delay interval, sets a session expiry interval, and the will delay interval is set longer...Show more
If an MQTT v5 client connects to Eclipse Mosquitto versions 1.6.0 to 1.6.4 inclusive, sets a last will and testament, sets a will delay interval, sets a session expiry interval, and the will delay interval is set longer than the session expiry interval, then a use after free error occurs, which has the potential to cause a crash in some situations.Show less
2Debian
Eclipse
2Debian Linux
Mosquitto
Nov 21, 2024
Mar 27, 2019
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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.
1Eclipse
1Mosquitto
Nov 21, 2024
Mar 27, 2019
N/A· v4
8.1 HIGH· v3
6.8 MEDIUM· v2
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 d...Show more
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, clients can circumvent authentication and get access to the broker by using the malformed username. In particular, a blank line will be treated as a valid empty username. Other security measures are unaffected. Users who have only used the mosquitto_passwd utility to create and modify their password files are unaffected by this vulnerability.Show less
1Eclipse
1Mosquitto
Nov 21, 2024
Mar 27, 2019
N/A· v4
8.1 HIGH· v3
6.8 MEDIUM· v2
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 bee...Show more
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 is to have an empty ACL file mean that all access is denied, which is not a useful configuration but is not unexpected.Show less
1Eclipse
1Mosquitto
Nov 21, 2024
Mar 27, 2019
N/A· v4
6.5 MEDIUM· v3
4.0 MEDIUM· v2
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 subscri...Show more
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 may result in clients being able cause effects that would otherwise not be allowed.Show less
1Eclipse
1Mosquitto
Nov 21, 2024
Dec 13, 2018
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
Eclipse Mosquitto 1.5.x before 1.5.5 allows ACL bypass: if the option per_listener_settings was set to true, and the default listener was in use, and the default listener specified an acl_file, then the acl file was bein...Show more
Eclipse Mosquitto 1.5.x before 1.5.5 allows ACL bypass: if the option per_listener_settings was set to true, and the default listener was in use, and the default listener specified an acl_file, then the acl file was being ignored.Show less
1Eclipse
1Mosquitto
Nov 21, 2024
Nov 15, 2018
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
In Eclipse Mosquitto versions 1.5 to 1.5.2 inclusive, if a message is published to Mosquitto that has a topic starting with $, but that is not $SYS, e.g. $test/test, then an assert is triggered that should otherwise not...Show more
In Eclipse Mosquitto versions 1.5 to 1.5.2 inclusive, if a message is published to Mosquitto that has a topic starting with $, but that is not $SYS, e.g. $test/test, then an assert is triggered that should otherwise not be reachable and Mosquitto will exit.Show less