# CVE-2018-12551

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2019-03-27 · Modified: 2024-08-05
- Aliases: ALPINE-CVE-2018-12551, UBUNTU-CVE-2018-12551, DEBIAN-CVE-2018-12551
- Record: https://cvemate.com/vulnerability/CVE-2018-12551 · JSON: https://cvemate.com/vulnerability/CVE-2018-12551/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.0, NVD) CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.475%, percentile 74.726%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine mosquitto (Alpine Linux): ≥ 1.0, \< 1.5.6-r0 \| ≥ 1.0, \< 1.4.15-r1 \| ≥ 1.0, \< 1.4.15-r4
- debian mosquitto (Debian): \< 1.5.6-1
- ubuntu mosquitto (Ubuntu): \< 1.4.8-1ubuntu0.16.04.5 \| \< 1.4.15-2ubuntu0.18.04.1
- eclipse mosquitto: ≥ 1.0, ≤ 1.5.5
- the eclipse foundation eclipse mosquitto: ≥ 1.0, \< unspecified \| ≥ unspecified, ≤ 1.5.5

## References

- <https://bugs.eclipse.org/bugs/show_bug.cgi?id=543401>
- <https://lists.debian.org/debian-lts-announce/2019/10/msg00035.html>
- <https://security.alpinelinux.org/vuln/CVE-2018-12551>
- <https://ubuntu.com/security/CVE-2018-12551>
- <https://mosquitto.org/blog/2019/02/version-1-5-6-released/>
- <https://mosquitto.org/files/cve/2018-12551>
- <https://www.cve.org/CVERecord?id=CVE-2018-12551>
- <https://security-tracker.debian.org/tracker/CVE-2018-12551>

---

Data as of 2026-12-05T03:43:59.891Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
