{"id":"CVE-2024-3935","aliases":["DEBIAN-CVE-2024-3935","DLA-4059-1","EUVD-2024-32502","GHSA-r5mw-c5jc-r788","OESA-2024-2343","OESA-2024-2344","OESA-2024-2345","OESA-2024-2346","ROOT-OS-ALPINE-318-CVE-2024-3935","ROOT-OS-ALPINE-319-CVE-2024-3935","ROOT-OS-ALPINE-320-CVE-2024-3935","UBUNTU-CVE-2024-3935","USN-7441-1","openSUSE-SU-2025:15074-1","openSUSE-SU-2026:20260-1"],"status":"published","title":"Eclipse Mosquito: Double free vulnerability","description":"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.","severity":{"version":"4.0","score":6,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00749,"percentile":0.55221,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-415"],"published":"2024-10-30T11:45:23Z","modified":"2026-11-02T12:02:43Z","fixes":[{"ecosystem":"Debian:12","package":"mosquitto","fixed_in":["2.0.11-1.2+deb12u2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mosquitto","fixed_in":["2.0.20-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mosquitto","fixed_in":["2.0.20-1"],"sources":["osv"]},{"ecosystem":"Root:Alpine:3.18","package":"mosquitto","fixed_in":["2.0.18-r00071","2.0.18-r00072","2.0.18-r00073","2.0.18-r00074","2.0.18-r00075"],"sources":["osv"]},{"ecosystem":"Root:Alpine:3.18","package":"rootio-mosquitto","fixed_in":["2.0.18-r00071","2.0.18-r00072","2.0.18-r00073","2.0.18-r00074","2.0.18-r00075"],"sources":["osv"]},{"ecosystem":"Root:Alpine:3.19","package":"mosquitto","fixed_in":["2.0.18-r00071","2.0.18-r00073","2.0.18-r00074","2.0.18-r00072","2.0.18-r00075"],"sources":["osv"]},{"ecosystem":"Root:Alpine:3.19","package":"rootio-mosquitto","fixed_in":["2.0.18-r00071","2.0.18-r00073","2.0.18-r00074","2.0.18-r00072","2.0.18-r00075"],"sources":["osv"]},{"ecosystem":"Root:Alpine:3.20","package":"mosquitto","fixed_in":["2.0.18-r00071","2.0.18-r00073","2.0.18-r00074","2.0.18-r00072","2.0.18-r00075"],"sources":["osv"]},{"ecosystem":"Root:Alpine:3.20","package":"rootio-mosquitto","fixed_in":["2.0.18-r00071","2.0.18-r00073","2.0.18-r00074","2.0.18-r00072","2.0.18-r00075"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"mosquitto","fixed_in":["2.0.11-1ubuntu1.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"mosquitto","fixed_in":["2.0.18-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"mosquitto","fixed_in":["2.0.21-2.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.11-1.2+deb12u2"}]}],"versions":["2.0.11-1.2","2.0.11-1.2+deb12u1"]},{"source":"osv","ecosystem":"Debian:13","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.20-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.20-1"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.11-1+deb11u2"}]}],"versions":["2.0.11-1","2.0.11-1+deb11u1"],"bundled":2},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP3","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.20-1.oe2203sp3"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP1","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.20-1.oe2203sp1"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:24.03-LTS","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.20-1.oe2403"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP4","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.20-1.oe2203sp4"}]}],"bundled":2},{"source":"osv","ecosystem":"Root:Alpine:3.18","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.18-r00071"},{"fixed":"2.0.18-r00072"},{"fixed":"2.0.18-r00073"},{"fixed":"2.0.18-r00074"},{"fixed":"2.0.18-r00075"}]}]},{"source":"osv","ecosystem":"Root:Alpine:3.18","package":"rootio-mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.18-r00071"},{"fixed":"2.0.18-r00072"},{"fixed":"2.0.18-r00073"},{"fixed":"2.0.18-r00074"},{"fixed":"2.0.18-r00075"}]}]},{"source":"osv","ecosystem":"Root:Alpine:3.19","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.18-r00071"},{"fixed":"2.0.18-r00073"},{"fixed":"2.0.18-r00074"},{"fixed":"2.0.18-r00072"},{"fixed":"2.0.18-r00075"}]}]},{"source":"osv","ecosystem":"Root:Alpine:3.19","package":"rootio-mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.18-r00071"},{"fixed":"2.0.18-r00073"},{"fixed":"2.0.18-r00074"},{"fixed":"2.0.18-r00072"},{"fixed":"2.0.18-r00075"}]}]},{"source":"osv","ecosystem":"Root:Alpine:3.20","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.18-r00071"},{"fixed":"2.0.18-r00073"},{"fixed":"2.0.18-r00074"},{"fixed":"2.0.18-r00072"},{"fixed":"2.0.18-r00075"}]}]},{"source":"osv","ecosystem":"Root:Alpine:3.20","package":"rootio-mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.18-r00071"},{"fixed":"2.0.18-r00073"},{"fixed":"2.0.18-r00074"},{"fixed":"2.0.18-r00072"},{"fixed":"2.0.18-r00075"}]}]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.11-1ubuntu1.2"}]}],"versions":["2.0.11-1","2.0.11-1build1","2.0.11-1ubuntu1","2.0.11-1ubuntu1.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.18-1ubuntu0.1~esm1"}]}],"versions":["2.0.18-1","2.0.18-1build1","2.0.18-1build2","2.0.18-1build3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15-2+deb7u3ubuntu0.1+esm1"}]}],"versions":["0.15-2ubuntu1","0.15-2ubuntu1.1","0.15-2ubuntu1.2","0.15-2+deb7u3ubuntu0.1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.8-1ubuntu0.16.04.7+esm2"}]}],"versions":["1.4.3-1","1.4.4-1","1.4.7-1","1.4.8-1","1.4.8-1build1","1.4.8-1ubuntu0.16.04.1","1.4.8-1ubuntu0.16.04.2","1.4.8-1ubuntu0.16.04.3","1.4.8-1ubuntu0.16.04.4","1.4.8-1ubuntu0.16.04.5","1.4.8-1ubuntu0.16.04.6","1.4.8-1ubuntu0.16.04.7","1.4.8-1ubuntu0.16.04.7+esm1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.15-2ubuntu0.18.04.3+esm2"}]}],"versions":["1.4.12-1","1.4.14-1","1.4.14-2","1.4.14-2build1","1.4.15-1","1.4.15-2","1.4.15-2ubuntu0.18.04.1","1.4.15-2ubuntu0.18.04.2","1.4.15-2ubuntu0.18.04.3","1.4.15-2ubuntu0.18.04.3+esm1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.9-1ubuntu0.1~esm2"}]}],"versions":["1.6.6-1","1.6.7-1","1.6.8-1","1.6.8-2","1.6.9-1~build1","1.6.9-1","1.6.9-1ubuntu0.1~esm1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.11-1ubuntu1.2"}]}],"versions":["2.0.11-1","2.0.11-1build1","2.0.11-1ubuntu1","2.0.11-1ubuntu1.1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.18-1ubuntu0.1~esm1"}]}],"versions":["2.0.18-1","2.0.18-1build1","2.0.18-1build2","2.0.18-1build3"],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.21-2.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.23-bp160.1.1"}]}],"bundled":2}],"products":[{"vendor":"eclipse","product":"mosquitto"},{"vendor":"eclipse foundation","product":"mosquitto"},{"vendor":"eclipse_foundation","product":"mosquitto"}],"references":[{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/197","tags":["Exploit","Issue Tracking","Vendor Advisory","report"]},{"url":"https://mosquitto.org/blog/2024/10/version-2-0-19-released/","tags":["Release Notes","article","report"]},{"url":"https://github.com/eclipse-mosquitto/mosquitto/commit/ae7a804dadac8f2aaedb24336df8496a9680fda9","tags":["Patch","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00022.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3935","tags":["advisory"]},{"url":"https://mosquitto.org/blog/2024/10/version-2-0-19-released"},{"url":"https://github.com/advisories/GHSA-r5mw-c5jc-r788"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3935.json","tags":["advisory"]},{"url":"https://github.com/eclipse/mosquitto","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-3935","tags":["advisory"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2024-2343","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10525","tags":["advisory"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2024-2344","tags":["advisory"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2024-2345","tags":["advisory"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2024-2346","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-3935","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-3935","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7441-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-10525","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/ZVFEGLDJBY7EABGWWD3F2MDZ223VAMQ6/","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2024-3935","tags":["web"]},{"url":"","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1232635","tags":["report"]},{"url":"https://bugzilla.suse.com/1232636","tags":["report"]},{"url":"https://bugzilla.suse.com/1258671","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2024-10525","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2024-3935","title":"Eclipse Mosquito: Double free vulnerability","description":"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.","status":"published","published":"2024-10-30T11:45:23.506Z","modified":"2025-11-03T20:38:15.605Z","cvss":[{"version":"4.0","score":6,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","level":"medium","assessor":"cna"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:34:10.613319Z"}],"euvd":[{"id":"EUVD-2024-32502","description":"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.","status":"published","published":"2024-10-30T11:45:23Z","modified":"2025-11-03T20:38:15Z","cvss":[{"version":"4.0","score":6,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-11-02T19:49:32.126029Z"}],"ghsa":[{"id":"GHSA-r5mw-c5jc-r788","title":"In Eclipse Mosquito, versions from 2.0.0 through 2.0.18, if a Mosquitto broker is configured to...","description":"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.","status":"published","published":"2024-10-30T12:31:24Z","modified":"2025-11-03T21:31:30Z","cvss":[{"version":"4.0","score":6,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T15:04:18.722049Z"}],"nvd":[{"id":"CVE-2024-3935","description":"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.","status":"published","published":"2024-10-30T12:15:03.09Z","modified":"2026-06-17T07:45:30.607Z","cvss":[{"version":"4.0","score":6,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:10:35.289159Z"}],"osv":[{"id":"CVE-2024-3935","title":"Eclipse Mosquito: Double free vulnerability","description":"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.","status":"published","published":"2024-10-30T11:45:23.506Z","modified":"2026-10-28T10:36:39.459159728Z","cvss":[{"version":"4.0","score":6,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","level":"medium"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T15:44:41.618074Z"},{"id":"DEBIAN-CVE-2024-3935","description":"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.","status":"published","published":"2024-10-30T12:15:03.09Z","modified":"2026-11-02T12:02:43.761809559Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:42.835825Z"},{"id":"OESA-2024-2343","title":"mosquitto security update","description":"Mosquitto is an open source message broker that implements the MQ Telemetry Transport protocol version 3.1 and 3.1.1 MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for \u0026quot;machine to machine\u0026quot; messaging such as with low power sensors or mobile devices such as phones, embedded computers or micro-controllers like the Arduino.\r\n\r\nSecurity Fix(es):\r\n\r\nIn 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.(CVE-2024-10525)\r\n\r\nIn 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.(CVE-2024-3935)","status":"published","published":"2024-11-08T11:07:49Z","modified":"2026-08-18T01:18:37.827885891Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:42.253598Z"},{"id":"OESA-2024-2344","title":"mosquitto security update","description":"Mosquitto is an open source message broker that implements the MQ Telemetry Transport protocol version 3.1 and 3.1.1 MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for \u0026quot;machine to machine\u0026quot; messaging such as with low power sensors or mobile devices such as phones, embedded computers or micro-controllers like the Arduino.\r\n\r\nSecurity Fix(es):\r\n\r\nIn 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.(CVE-2024-10525)\r\n\r\nIn 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.(CVE-2024-3935)","status":"published","published":"2024-11-08T11:07:49Z","modified":"2026-08-18T01:18:28.947138152Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:42.253598Z"},{"id":"OESA-2024-2345","title":"mosquitto security update","description":"Mosquitto is an open source message broker that implements the MQ Telemetry Transport protocol version 3.1 and 3.1.1 MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for \u0026quot;machine to machine\u0026quot; messaging such as with low power sensors or mobile devices such as phones, embedded computers or micro-controllers like the Arduino.\r\n\r\nSecurity Fix(es):\r\n\r\nIn 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.(CVE-2024-10525)\r\n\r\nIn 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.(CVE-2024-3935)","status":"published","published":"2024-11-08T11:07:49Z","modified":"2026-08-18T01:18:37.871900345Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:42.253598Z"},{"id":"OESA-2024-2346","title":"mosquitto security update","description":"Mosquitto is an open source message broker that implements the MQ Telemetry Transport protocol version 3.1 and 3.1.1 MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for \u0026quot;machine to machine\u0026quot; messaging such as with low power sensors or mobile devices such as phones, embedded computers or micro-controllers like the Arduino.\r\n\r\nSecurity Fix(es):\r\n\r\nIn 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.(CVE-2024-10525)\r\n\r\nIn 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.(CVE-2024-3935)","status":"published","published":"2024-11-08T11:07:49Z","modified":"2026-08-18T01:18:37.866054459Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:42.253598Z"},{"id":"UBUNTU-CVE-2024-3935","description":"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.","status":"published","published":"2024-10-30T12:15:00Z","modified":"2026-04-22T14:58:11.982366Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"},{"version":"4.0","score":6,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-11-02T16:54:54.69008Z"},{"id":"DLA-4059-1","title":"mosquitto - security update","status":"published","published":"2025-02-20T00:00:00Z","modified":"2026-03-09T01:20:09.411858Z","updated_at":"2026-11-02T15:46:12.7027Z"},{"id":"openSUSE-SU-2025:15074-1","title":"libmosquitto1-2.0.21-2.1 on GA media","description":"These are all security issues fixed in the libmosquitto1-2.0.21-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-05-09T00:00:00Z","modified":"2026-03-23T04:53:22.058241Z","updated_at":"2026-11-02T16:58:37.399567Z"},{"id":"openSUSE-SU-2026:20260-1","title":"Security update for mosquitto","description":"This update for mosquitto fixes the following issues:\n\nChanges in mosquitto:\n\n- update to 2.0.23 (boo#1258671)\n  * Fix handling of disconnected sessions for `per_listener_settings\n    true`\n  * Check return values of openssl *_get_ex_data() and\n    *_set_ex_data() to prevent possible crash. This could occur only\n    in extremely unlikely situations\n  * Check return value of openssl ASN1_string_[get0_]data()\n    functions for NULL. This prevents a crash in case of incorrect\n    certificate handling in openssl\n  * Fix potential crash on startup if a malicious/corrupt\n    persistence file from mosquitto 1.5 or earlier is loaded\n  * Limit auto_id_prefix to 50 characters\n\n- Update to version 2.0.22\n  Broker\n  * Bridge: Fix idle_timeout never occurring for lazy bridges.\n  * Fix case where max_queued_messages = 0 was not treated as\n    unlimited.\n  * Fix --version exit code and output.\n  * Fix crash on receiving a $CONTROL message over a bridge, if\n    per_listener_settings is set true and the bridge is carrying\n    out topic remapping.\n  * Fix incorrect reference clock being selected on startup on\n    Linux. Closes #3238.\n  * Fix reporting of client disconnections being incorrectly\n    attributed to \"out of memory\".\n  * Fix compilation when using WITH_OLD_KEEPALIVE.\n  * Fix problems with secure websockets.\n  * Fix crash on exit when using WITH_EPOLL=no.\n  * Fix clients being incorrectly expired when they have\n    keepalive == max_keepalive. Closes #3226, #3286.\n  Dynamic security plugin\n  * Fix mismatch memory free when saving config which caused\n    memory tracking to be incorrect.\n  Client library\n  * Fix C++ symbols being removed when compiled with link time\n    optimisation.\n  * TLS error handling was incorrectly setting a protocol error\n    for non-TLS errors. This would cause the mosquitto_loop_start()\n    thread to exit if no broker was available on the first\n    connection attempt. This has been fixed. Closes #3258.\n  * Fix linker errors on some architectures using cmake.\n\n- Update to version 2.0.21\n  Broker\n  * Fix clients sending a RESERVED packet not being quickly\n    disconnected.\n  * Fix bind_interface producing an error when used with an\n    interface that has an IPv6 link-local address and no other\n    IPv6 addresses.\n  * Fix mismatched wrapped/unwrapped memory alloc/free in\n    properties.\n  * Fix allow_anonymous false not being applied in local only mode.\n  * Add retain_expiry_interval option to fix expired retained\n    message not being removed from memory if they are not\n    subscribed to.\n  * Produce an error if invalid combinations of\n    cafile/capath/certfile/keyfile are used.\n  * Backport keepalive checking from develop to fix problems in\n    current implementation.\n  Client library\n  * Fix potential deadlock in mosquitto_sub if -W is used.\n  Apps\n  * mosquitto_ctrl dynsec now also allows -i to specify a clientid\n    as well as -c. This matches the documentation which states -i.\n  Tests\n  * Fix 08-ssl-connect-cert-auth-expired and\n    08-ssl-connect-cert-auth-revoked tests when under load.\n\n- systemd service: Wait till the network got setup to avoid\n  startup failure.\n","status":"published","published":"2026-02-23T18:17:43Z","modified":"2026-03-23T04:54:48.782001Z","updated_at":"2026-11-02T16:58:41.463445Z"},{"id":"ROOT-OS-ALPINE-318-CVE-2024-3935","title":"CVE-2024-3935 in mosquitto - Patched by Root","description":"Root has patched CVE-2024-3935 in the mosquitto package for Root:Alpine:3.18. Multiple fixed versions available.","status":"published","published":"2026-09-29T10:08:23Z","modified":"2026-09-29T11:15:02.822069674Z","updated_at":"2026-11-02T15:53:28.259095Z"},{"id":"ROOT-OS-ALPINE-319-CVE-2024-3935","title":"CVE-2024-3935 in mosquitto - Patched by Root","description":"Root has patched CVE-2024-3935 in the mosquitto package for Root:Alpine:3.19. Multiple fixed versions available.","status":"published","published":"2026-09-29T09:40:50Z","modified":"2026-09-29T10:16:06.949633479Z","updated_at":"2026-11-02T15:53:28.259095Z"},{"id":"ROOT-OS-ALPINE-320-CVE-2024-3935","title":"CVE-2024-3935 in mosquitto - Patched by Root","description":"Root has patched CVE-2024-3935 in the mosquitto package for Root:Alpine:3.20. Multiple fixed versions available.","status":"published","published":"2026-09-29T10:04:56Z","modified":"2026-09-29T11:15:08.306002633Z","updated_at":"2026-11-02T15:53:28.259095Z"},{"id":"USN-7441-1","title":"mosquitto vulnerabilities","description":"It was discovered that Eclipse Mosquitto client incorrectly handled\nmemory when receiving a SUBACK packet. An attacker with a malicious\nbroker could possibly use this issue to execute arbitrary code or\ncause a denial of service. (CVE-2024-10525)\n\nXiangpu Song discovered that Eclipse Mosquitto broker did not properly\nmanage memory under certain circumstances. A malicious client with a\nremote connection could possibly use this issue to cause the broker to\ncrash resulting in a denial of service, or another unspecified impact.\nThis issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS.\n(CVE-2024-3935)\n","status":"published","published":"2025-04-16T23:26:51Z","modified":"2026-06-25T13:32:30.286925094Z","updated_at":"2026-11-02T16:58:19.988474Z"}]}}
