{"id":"CVE-2021-34432","aliases":["ALPINE-CVE-2021-34432","BELL-CVE-2021-34432","DEBIAN-CVE-2021-34432","EUVD-2021-21088","GHSA-9972-xmxv-v66x","OESA-2022-1564","OESA-2022-2053","UBUNTU-CVE-2021-34432"],"status":"published","title":"In Eclipse Mosquitto versions 2.07 and earlier, the server will crash if the client tries to send...","description":"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.","severity":{"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","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.01247,"percentile":0.69747,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2021-07-27T15:25:17Z","modified":"2026-10-24T10:31:05Z","fixes":[{"ecosystem":"Alpine:v3.11","package":"mosquitto","fixed_in":["1.6.8-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"mosquitto","fixed_in":["1.6.9-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"mosquitto","fixed_in":["1.6.12-r3"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"mosquitto","fixed_in":["2.0.8-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"mosquitto","fixed_in":["2.0.8-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"mosquitto","fixed_in":["2.0.8-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"mosquitto","fixed_in":["2.0.8-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"mosquitto","fixed_in":["2.0.8-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"mosquitto","fixed_in":["2.0.8-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"mosquitto","fixed_in":["2.0.8-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"mosquitto","fixed_in":["2.0.8-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"mosquitto","fixed_in":["2.0.8-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"mosquitto","fixed_in":["2.0.8-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"mosquitto","fixed_in":["2.0.8-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"mosquitto","fixed_in":["2.0.8-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mosquitto","fixed_in":["2.0.8-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mosquitto","fixed_in":["2.0.8-1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP1","package":"mosquitto","fixed_in":["1.6.15-6.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP2","package":"mosquitto","fixed_in":["1.6.15-6.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP3","package":"mosquitto","fixed_in":["1.6.15-6.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS","package":"mosquitto","fixed_in":["1.6.15-6.oe2203"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.11","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.8-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.9-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.12-r3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.8-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.8-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.8-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.8-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.8-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.8-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.8-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.8-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.8-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.8-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.8-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.8-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.8-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.8-1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.15-6.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP2","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.15-6.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP3","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.15-6.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.15-6.oe2203"}]}]}],"products":[{"vendor":"eclipse","product":"mosquitto"},{"vendor":"the eclipse foundation","product":"eclipse mosquitto"}],"references":[{"url":"https://bugs.eclipse.org/bugs/show_bug.cgi?id=574141","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Patch","Vendor Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-34432","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9972-xmxv-v66x"},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-34432","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2021-34432","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-34432","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1564","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2053","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-34432","tags":["report"]},{"url":"https://github.com/eclipse/mosquitto/commit/9b08faf0bdaf5a4f2e6e3dd1ea7e8c57f70418d6","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-34432","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-34432","description":"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.","status":"published","published":"2021-07-27T15:25:17Z","modified":"2026-07-02T09:31:38.182Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:33:11.244759Z"}],"euvd":[{"id":"EUVD-2021-21088","description":"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.","status":"published","published":"2021-07-27T15:25:17Z","modified":"2026-07-02T09:31:38Z","updated_at":"2026-11-02T18:20:18.134523Z"}],"ghsa":[{"id":"GHSA-9972-xmxv-v66x","title":"In Eclipse Mosquitto versions 2.07 and earlier, the server will crash if the client tries to send...","description":"In Eclipse Mosquitto versions 2.07 and earlier, the server will crash if the client tries to send a PUBLISH packet with topic length = 0.","status":"published","published":"2022-05-24T19:09:16Z","modified":"2026-07-02T12:30:29Z","cvss":[{"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-20"],"updated_at":"2026-11-02T15:09:10.929571Z"}],"nvd":[{"id":"CVE-2021-34432","description":"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.","status":"published","published":"2021-07-27T16:15:07.893Z","modified":"2026-07-02T10:16:25.497Z","cvss":[{"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","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:06:56.185362Z"}],"osv":[{"id":"ALPINE-CVE-2021-34432","description":"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.","status":"published","published":"2021-07-27T16:15:07.893Z","modified":"2026-10-23T17:17:56.192880181Z","cvss":[{"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"}],"updated_at":"2026-11-02T15:27:48.646074Z"},{"id":"BELL-CVE-2021-34432","title":"CVE-2021-34432 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:14:51.775543Z","modified":"2026-01-26T09:49:42.993727Z","cvss":[{"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"}],"updated_at":"2026-11-02T15:28:16.5265Z"},{"id":"CVE-2021-34432","description":"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.","status":"published","published":"2021-07-27T16:15:07.893Z","modified":"2026-10-24T10:31:05.192093504Z","cvss":[{"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"}],"updated_at":"2026-11-02T15:44:20.13324Z"},{"id":"DEBIAN-CVE-2021-34432","description":"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.","status":"published","published":"2021-07-27T16:15:07.893Z","modified":"2026-10-23T18:04:50.691450609Z","cvss":[{"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"}],"updated_at":"2026-11-02T15:45:35.233346Z"},{"id":"OESA-2022-1564","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 versions 2.07 and earlier, the server will crash if the client tries to send a PUBLISH packet with topic length = 0.(CVE-2021-34432)","status":"published","published":"2022-03-07T11:04:50Z","modified":"2026-08-18T01:16:26.456996748Z","cvss":[{"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"}],"updated_at":"2026-11-02T15:52:39.528805Z"},{"id":"OESA-2022-2053","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 versions 2.07 and earlier, the server will crash if the client tries to send a PUBLISH packet with topic length = 0.(CVE-2021-34432)","status":"published","published":"2022-11-11T11:05:22Z","modified":"2026-08-18T01:17:21.524326432Z","cvss":[{"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"}],"updated_at":"2026-11-02T15:52:39.934788Z"},{"id":"UBUNTU-CVE-2021-34432","description":"In Eclipse Mosquitto versions 2.07 and earlier, the server will crash if the client tries to send a PUBLISH packet with topic length = 0.","status":"withdrawn","published":"2021-07-27T16:15:00Z","modified":"2025-07-16T07:42:49.267279Z","cvss":[{"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"}],"updated_at":"2026-11-02T15:54:27.870979Z"}]}}
