{"id":"CVE-2018-12551","aliases":["ALPINE-CVE-2018-12551","BELL-CVE-2018-12551","DEBIAN-CVE-2018-12551","DLA-1972-1","DSA-4388-1","EUVD-2018-4511","GHSA-5hh6-jrm5-mqxq","UBUNTU-CVE-2018-12551","openSUSE-SU-2019:0233-1","openSUSE-SU-2019:0237-1","openSUSE-SU-2024:11057-1"],"status":"published","title":"When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use a password file for...","description":"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.","severity":{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01475,"percentile":0.74024,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-287","CWE-703"],"published":"2019-02-10T00:00:00Z","modified":"2026-10-24T10:30:52Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"mosquitto","fixed_in":["1.5.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"mosquitto","fixed_in":["1.5.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"mosquitto","fixed_in":["1.5.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"mosquitto","fixed_in":["1.5.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"mosquitto","fixed_in":["1.5.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"mosquitto","fixed_in":["1.5.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"mosquitto","fixed_in":["1.5.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"mosquitto","fixed_in":["1.5.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"mosquitto","fixed_in":["1.5.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"mosquitto","fixed_in":["1.5.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"mosquitto","fixed_in":["1.5.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"mosquitto","fixed_in":["1.5.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"mosquitto","fixed_in":["1.5.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"mosquitto","fixed_in":["1.5.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"mosquitto","fixed_in":["1.5.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.7","package":"mosquitto","fixed_in":["1.4.15-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.8","package":"mosquitto","fixed_in":["1.4.15-r4"],"sources":["osv"]},{"ecosystem":"Alpine:v3.9","package":"mosquitto","fixed_in":["1.5.6-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"mosquitto","fixed_in":["1.5.6-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mosquitto","fixed_in":["1.5.6-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mosquitto","fixed_in":["1.5.6-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"mosquitto","fixed_in":["1.4.8-1ubuntu0.16.04.5"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"mosquitto","fixed_in":["1.4.15-2ubuntu0.18.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.7","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.4.15-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.8","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.4.15-r4"}]}]},{"source":"osv","ecosystem":"Alpine:v3.9","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.6-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.6-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.6-1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.4-2+deb8u4"}]}],"versions":["1.3.4-2","1.3.4-2+deb8u1","1.3.4-2+deb8u2","1.3.4-2+deb8u3"],"bundled":4},{"source":"osv","ecosystem":"Debian:9","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.10-3+deb9u3"}]}],"versions":["1.4.10-3","1.4.10-3+deb9u1","1.4.10-3+deb9u2"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.8-1ubuntu0.16.04.5"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.15-2ubuntu0.18.04.1"}]}],"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"]},{"source":"osv","ecosystem":"SUSE:Package Hub 15","package":"mosquitto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.15-bp150.3.3.1"}]}],"bundled":3}],"products":[{"vendor":"eclipse","product":"mosquitto"},{"vendor":"the eclipse foundation","product":"eclipse mosquitto"}],"references":[{"url":"https://bugs.eclipse.org/bugs/show_bug.cgi?id=543401","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Vendor Advisory","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00035.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-12551"},{"url":"https://github.com/advisories/GHSA-5hh6-jrm5-mqxq"},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-12551","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2018-12551","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-12551","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-12551","tags":["report"]},{"url":"https://mosquitto.org/blog/2019/02/version-1-5-6-released/","tags":["report"]},{"url":"https://mosquitto.org/files/cve/2018-12551","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-12551","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/SRF6WPNSL7W2K6AHOK3GYIPB4F2ISYFN/#SRF6WPNSL7W2K6AHOK3GYIPB4F2ISYFN","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1125019","tags":["report"]},{"url":"https://bugzilla.suse.com/1125020","tags":["report"]},{"url":"https://bugzilla.suse.com/1125021","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-12546","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-12550","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-12551","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/YSX4D64TRLDVQNQZHRPNZIOVDOBKHJEA/#YSX4D64TRLDVQNQZHRPNZIOVDOBKHJEA","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7650","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7651","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7652","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-9868","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-12543","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-20145","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-11778","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-11779","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-28166","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-12551","description":"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.","status":"published","published":"2019-03-27T17:26:20Z","modified":"2024-08-05T08:38:06.296Z","cwes":["CWE-703"],"updated_at":"2026-11-02T14:35:06.679212Z"}],"euvd":[{"id":"EUVD-2018-4511","description":"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.","status":"published","published":"2019-03-27T17:26:20Z","modified":"2024-08-05T08:38:06Z","updated_at":"2026-11-03T02:39:52.61924Z"}],"ghsa":[{"id":"GHSA-5hh6-jrm5-mqxq","title":"When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use a password file for...","description":"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.","status":"published","published":"2022-05-13T01:34:45Z","modified":"2023-02-01T05:08:31Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:50:47.326034Z"}],"nvd":[{"id":"CVE-2018-12551","description":"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.","status":"published","published":"2019-03-27T18:29:00.367Z","modified":"2026-06-17T01:37:57.813Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-703","CWE-287"],"updated_at":"2026-11-02T14:04:55.136632Z"}],"osv":[{"id":"ALPINE-CVE-2018-12551","description":"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.","status":"published","published":"2019-03-27T18:29:00.367Z","modified":"2026-10-23T17:17:55.20922271Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:47.187336Z"},{"id":"BELL-CVE-2018-12551","title":"CVE-2018-12551 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:14:59.905875Z","modified":"2026-01-26T09:46:09.775103Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:14.701973Z"},{"id":"CVE-2018-12551","description":"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.","status":"published","published":"2019-03-27T18:29:00.367Z","modified":"2026-10-24T10:30:52.891798799Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:07.934182Z"},{"id":"DEBIAN-CVE-2018-12551","description":"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.","status":"published","published":"2019-03-27T18:29:00.367Z","modified":"2026-10-23T18:03:53.837311225Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:30.290351Z"},{"id":"UBUNTU-CVE-2018-12551","description":"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.","status":"published","published":"2019-03-27T18:29:00Z","modified":"2026-04-22T11:43:46.969651Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:17.014176Z"},{"id":"DLA-1972-1","title":"mosquitto - security update","status":"published","published":"2019-10-26T00:00:00Z","modified":"2026-03-09T01:20:27.623062Z","updated_at":"2026-11-02T15:46:10.227108Z"},{"id":"DSA-4388-1","title":"mosquitto - security update","status":"published","published":"2019-02-10T00:00:00Z","modified":"2026-03-09T02:10:07.740572Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"id":"openSUSE-SU-2019:0233-1","title":"Security update for mosquitto","description":"This update for mosquitto fixes the following issues:\n\nSecurity issues fixed: \n\n- CVE-2018-12546: Fixed an issue with revoked access to topics (bsc#1125019).\n- CVE-2018-12551: Fixed an issue which allowed malformed data in the password file to be treated as valid (bsc#1125020).\n- CVE-2018-12550: Fixed an an issue which treats an empty ACL file  wrongly (bsc#1125021).\n","status":"published","published":"2019-03-23T11:06:23Z","modified":"2026-02-04T03:16:32.85422Z","updated_at":"2026-11-02T16:58:30.39372Z"},{"id":"openSUSE-SU-2019:0237-1","title":"Security update for mosquitto","description":"This update for mosquitto fixes the following issues:\n\nSecurity issues fixed: \n\n- CVE-2018-12546: Fixed an issue with revoked access to topics (bsc#1125019).\n- CVE-2018-12551: Fixed an issue which allowed malformed data in the password file to be treated as valid (bsc#1125020).\n- CVE-2018-12550: Fixed an an issue which treats an empty ACL file  wrongly (bsc#1125021).\n\nThis update was imported from the openSUSE:Leap:15.0:Update update project.","status":"published","published":"2019-02-23T08:03:59Z","modified":"2026-02-04T04:05:12.029622Z","updated_at":"2026-11-02T16:58:30.39372Z"},{"id":"openSUSE-SU-2024:11057-1","title":"libmosquitto1-2.0.11-1.2 on GA media","description":"These are all security issues fixed in the libmosquitto1-2.0.11-1.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:24:30.951191Z","updated_at":"2026-11-02T16:58:34.894275Z"}]}}
