{"schemaVersion":3,"id":"CVE-2018-12551","aliases":["ALPINE-CVE-2018-12551","UBUNTU-CVE-2018-12551","DEBIAN-CVE-2018-12551"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2019-03-27T17:26:20.000Z","modified":"2024-08-05T08:38:06.296Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.01475,"percentile":0.73448,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01475},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01418,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01475,"percentile":0.73448}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01418,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01475,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01475,"percentile":0.73448}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_A278B05D4AEEFC80","name":"Exploit Reference (bugs.eclipse.org)","source":"reference","url":"https://bugs.eclipse.org/bugs/show_bug.cgi?id=543401","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-703","name":"Improper Check or Handling of Exceptional Conditions","description":"The product does not properly anticipate or handle exceptional conditions that rarely occur during normal operation of the product.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/703.html"},{"id":"CWE-287","name":"Improper Authentication","description":"When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/287.html"}],"affected":[{"vendor":"alpine","product":"mosquitto","name":"mosquitto","label":"mosquitto","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/mosquitto","purlType":"apk","versions":[{"text":"≥ 1.0, < 1.5.6-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.0, < 1.4.15-r1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.0, < 1.4.15-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0, < 1.5.6-r0 | ≥ 1.0, < 1.4.15-r1 | ≥ 1.0, < 1.4.15-r4","eol":null,"hubHref":null},{"vendor":"debian","product":"mosquitto","name":"mosquitto","label":"mosquitto","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/mosquitto","purlType":"deb","versions":[{"text":"< 1.5.6-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.6-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mosquitto","name":"mosquitto","label":"mosquitto","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mosquitto","purlType":"deb","versions":[{"text":"< 1.4.8-1ubuntu0.16.04.5","noFixRecorded":false,"fixedIn":null},{"text":"< 1.4.15-2ubuntu0.18.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.8-1ubuntu0.16.04.5 | < 1.4.15-2ubuntu0.18.04.1","eol":null,"hubHref":null},{"vendor":"eclipse","product":"mosquitto","name":"mosquitto","label":"mosquitto","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.0, ≤ 1.5.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0, ≤ 1.5.5","eol":null,"hubHref":"/vendor/eclipse/mosquitto"},{"vendor":"the eclipse foundation","product":"eclipse mosquitto","name":"Eclipse Mosquitto","label":"eclipse mosquitto","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.0, < unspecified","noFixRecorded":false,"fixedIn":null},{"text":"≥ unspecified, ≤ 1.5.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0, < unspecified | ≥ unspecified, ≤ 1.5.5","eol":null,"hubHref":"/vendor/the_eclipse_foundation/eclipse_mosquitto"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugs.eclipse.org/bugs/show_bug.cgi?id=543401","label":"bugs.eclipse.org/bugs/show_bug.cgi?id=543401","hostname":"bugs.eclipse.org","tags":["X Refsource CONFIRM","Exploit","Issue Tracking","Vendor Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00035.html","label":"lists.debian.org/debian-lts-announce/2019/10/msg00035.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-12551","label":"security.alpinelinux.org/vuln/CVE-2018-12551","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-12551","label":"ubuntu.com/security/CVE-2018-12551","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://mosquitto.org/blog/2019/02/version-1-5-6-released/","label":"mosquitto.org/blog/2019/02/version-1-5-6-released/","hostname":"mosquitto.org","tags":["REPORT"]},{"url":"https://mosquitto.org/files/cve/2018-12551","label":"mosquitto.org/files/cve/2018-12551","hostname":"mosquitto.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-12551","label":"www.cve.org/CVERecord?id=CVE-2018-12551","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-12551","label":"security-tracker.debian.org/tracker/CVE-2018-12551","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1972-1","DSA-4388-1","OPENSUSE-SU-2019:0237-1"],"duplicates":[],"related":["OPENSUSE-SU-2019:0237-1"]},"timeline":[{"kind":"published","date":"2019-03-27T17:26:20.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T08:38:06.296Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:09:11.470Z","stale":false,"partial":false}}