CVE-2018-12551
When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use a password file for...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.1
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.
- Record
CVE-2018-12551- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-703, CWE-287
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-12551- Weakness
- CWE-703
- Updated
- 2026-11-02
EUVDEUVD-2018-4511 No score
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.
- Record
EUVD-2018-4511- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5hh6-jrm5-mqxq
8.1
When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use a password file for...
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.
- Record
GHSA-5hh6-jrm5-mqxq- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-287
- Updated
- 2026-11-02
OSVALPINE-CVE-2018-12551
8.1
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.
- Record
ALPINE-CVE-2018-12551- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2018-12551
8.1
CVE-2018-12551 does not affect BellSoft software
- Record
BELL-CVE-2018-12551- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSV
8.1
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.
- Record
CVE-2018-12551- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-12551
8.1
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.
- Record
DEBIAN-CVE-2018-12551- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-12551
8.1
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.
- Record
UBUNTU-CVE-2018-12551- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2019:0233-1 No score
Security update for mosquitto
This update for mosquitto fixes the following issues:
Security issues fixed:
- CVE-2018-12546: Fixed an issue with revoked access to topics (bsc#1125019).
- CVE-2018-12551: Fixed an issue which allowed malformed data in the password file to be treated as valid (bsc#1125020).
- CVE-2018-12550: Fixed an an issue which treats an empty ACL file wrongly (bsc#1125021).
- Record
openSUSE-SU-2019:0233-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:0237-1 No score
Security update for mosquitto
This update for mosquitto fixes the following issues:
Security issues fixed:
- CVE-2018-12546: Fixed an issue with revoked access to topics (bsc#1125019).
- CVE-2018-12551: Fixed an issue which allowed malformed data in the password file to be treated as valid (bsc#1125020).
- CVE-2018-12550: Fixed an an issue which treats an empty ACL file wrongly (bsc#1125021).
This update was imported from the openSUSE:Leap:15.0:Update update project.
- Record
openSUSE-SU-2019:0237-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11057-1 No score
libmosquitto1-2.0.11-1.2 on GA media
These are all security issues fixed in the libmosquitto1-2.0.11-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11057-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mosquittoAlpine:v3.10 |
1.0 up to 1.5.6-r0 | 1.5.6-r0 |
mosquittoAlpine:v3.11 |
1.0 up to 1.5.6-r0 | 1.5.6-r0 |
mosquittoAlpine:v3.12 |
1.0 up to 1.5.6-r0 | 1.5.6-r0 |
mosquittoAlpine:v3.13 |
1.0 up to 1.5.6-r0 | 1.5.6-r0 |
mosquittoAlpine:v3.14 |
1.0 up to 1.5.6-r0 | 1.5.6-r0 |
mosquittoAlpine:v3.15 |
1.0 up to 1.5.6-r0 | 1.5.6-r0 |
mosquittoAlpine:v3.16 |
1.0 up to 1.5.6-r0 | 1.5.6-r0 |
mosquittoAlpine:v3.17 |
1.0 up to 1.5.6-r0 | 1.5.6-r0 |
mosquittoAlpine:v3.18 |
1.0 up to 1.5.6-r0 | 1.5.6-r0 |
mosquittoAlpine:v3.19 |
1.0 up to 1.5.6-r0 | 1.5.6-r0 |
Show 16 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mosquittoAlpine:v3.20 |
1.0 up to 1.5.6-r0 | 1.5.6-r0 |
mosquittoAlpine:v3.21 |
1.0 up to 1.5.6-r0 | 1.5.6-r0 |
mosquittoAlpine:v3.22 |
1.0 up to 1.5.6-r0 | 1.5.6-r0 |
mosquittoAlpine:v3.23 |
1.0 up to 1.5.6-r0 | 1.5.6-r0 |
mosquittoAlpine:v3.24 |
1.0 up to 1.5.6-r0 | 1.5.6-r0 |
mosquittoAlpine:v3.7 |
1.0 up to 1.4.15-r1 | 1.4.15-r1 |
mosquittoAlpine:v3.8 |
1.0 up to 1.4.15-r4 | 1.4.15-r4 |
mosquittoAlpine:v3.9 |
1.0 up to 1.5.6-r0 | 1.5.6-r0 |
mosquittoDebian:12 |
before 1.5.6-1 | 1.5.6-1 |
mosquittoDebian:13 |
before 1.5.6-1 | 1.5.6-1 |
mosquittoDebian:14 |
before 1.5.6-1 | 1.5.6-1 |
mosquittoDebian:8 From an advisory covering 4 CVEs |
before 1.3.4-2+deb8u4, plus listed versions 1.3.4-21.3.4-2+deb8u11.3.4-2+deb8u21.3.4-2+deb8u3 |
1.3.4-2+deb8u4 |
mosquittoDebian:9 From an advisory covering 3 CVEs |
before 1.4.10-3+deb9u3, plus listed versions 1.4.10-31.4.10-3+deb9u11.4.10-3+deb9u2 |
1.4.10-3+deb9u3 |
mosquittoUbuntu:16.04:LTS |
before 1.4.8-1ubuntu0.16.04.5, plus listed versions 1.4.3-11.4.4-11.4.7-11.4.8-11.4.8-1build1 Show 4 moreShow less1.4.8-1ubuntu0.16.04.11.4.8-1ubuntu0.16.04.21.4.8-1ubuntu0.16.04.31.4.8-1ubuntu0.16.04.4 |
1.4.8-1ubuntu0.16.04.5 |
mosquittoUbuntu:18.04:LTS |
before 1.4.15-2ubuntu0.18.04.1, plus listed versions 1.4.12-11.4.14-11.4.14-21.4.14-2build11.4.15-11.4.15-2 |
1.4.15-2ubuntu0.18.04.1 |
mosquittoSUSE:Package Hub 15 From an advisory covering 3 CVEs |
before 1.4.15-bp150.3.3.1 | 1.4.15-bp150.3.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-12551 is a high vulnerability (CVSS 8.1) in Eclipse Mosquitto, published February 10, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.47%, the 73rd percentile. Fixed in mosquitto 1.5.6-r0.
References
bugs.eclipse.org/bugs/show_bug.cgi?id=543401
lists.debian.org/debian-lts-announce/2019/10/msg00035.html
nvd.nist.gov/vuln/detail/CVE-2018-12551
github.com/advisories/GHSA-5hh6-jrm5-mqxq
security.alpinelinux.org/vuln/CVE-2018-12551
docs.bell-sw.com/security/cves/CVE-2018-12551
Show 22 moreShow less
security-tracker.debian.org/tracker/CVE-2018-12551
ubuntu.com/security/CVE-2018-12551
mosquitto.org/blog/2019/02/version-1-5-6-released
mosquitto.org/files/cve/2018-12551
cve.org/CVERecord?id=CVE-2018-12551
lists.opensuse.org/archives/list/[email protected]/thread/SRF6WPNSL7W2K6AHOK3GYIPB4F2ISYFN
bugzilla.suse.com/1125019
bugzilla.suse.com/1125020
bugzilla.suse.com/1125021
suse.com/security/cve/CVE-2018-12546
suse.com/security/cve/CVE-2018-12550
suse.com/security/cve/CVE-2018-12551
lists.opensuse.org/archives/list/[email protected]/thread/YSX4D64TRLDVQNQZHRPNZIOVDOBKHJEA
suse.com/security/cve/CVE-2017-7650
suse.com/security/cve/CVE-2017-7651
suse.com/security/cve/CVE-2017-7652
suse.com/security/cve/CVE-2017-9868
suse.com/security/cve/CVE-2018-12543
suse.com/security/cve/CVE-2018-20145
suse.com/security/cve/CVE-2019-11778
suse.com/security/cve/CVE-2019-11779
suse.com/security/cve/CVE-2021-28166