CVE-2018-12551
CVE-2018-12551 is a high-severity vulnerability in Eclipse Mosquitto with a CVSS 3.x base score of 8.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-287.
Key facts
- Severity: High (CVSS 3.x base score 8.1)
- CVSS v2: 6.8
- EPSS exploit prediction: 1% (73rd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-287
- Affected product: Eclipse Mosquitto
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2018-12551?
- 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.
- How severe is CVE-2018-12551?
- CVE-2018-12551 has a CVSS 3.x base score of 8.1, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2018-12551 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (73rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-12551?
- CVE-2018-12551 affects Eclipse Mosquitto. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2018-12551?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2018-12551 published?
- CVE-2018-12551 was published on 2019-03-27 and last updated on 2026-06-17.
References
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=543401
- https://lists.debian.org/debian-lts-announce/2019/10/msg00035.html
Affected products (1)
- cpe:2.3:a:eclipse:mosquitto:*:*:*:*:*:*:*:*
More vulnerabilities in Eclipse Mosquitto
- CVE-2024-10525 — Critical (CVSS 9.8): In Eclipse Mosquitto, from version 1.3.2 through 2.0.18, if a malicious broker sends a crafted SUBACK packet with no…
- CVE-2018-12550 — High (CVSS 8.1): When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use an ACL file, and that ACL file is empty,…
- CVE-2024-8376 — High (CVSS 7.5): In Eclipse Mosquitto up to version 2.0.18a, an attacker can achieve memory leaking, segmentation fault or…
- CVE-2023-5632 — High (CVSS 7.5): In Eclipse Mosquito before and including 2.0.5, establishing a connection to the mosquitto server without sending data…
- CVE-2023-28366 — High (CVSS 7.5): The broker in Eclipse Mosquitto 1.3.2 through 2.x before 2.0.16 has a memory leak that can be abused remotely when a…
- CVE-2021-41039 — High (CVSS 7.5): In versions 1.6 to 2.0.11 of Eclipse Mosquitto, an MQTT v5 client connecting with a large number of user-property…
All CVEs affecting Eclipse Mosquitto →
Other CWE-287 (Improper Authentication) vulnerabilities
- CVE-2026-101077 — Critical (CVSS 10.0): A flaw has been found in Netcore NR289-GE 1.4.5102. This impacts the function process_request of the component boa_temp…
- CVE-2026-100886 — Critical (CVSS 10.0): A vulnerability was identified in Seetong T8108, T8108P, T8116 and T8232 4.6.1.4-build202604241011. The affected…
- CVE-2026-77244 — Critical (CVSS 10.0): MCP Atlassian is a Model Context Protocol (MCP) server for Atlassian products (Confluence and Jira). Prior to 0.22.0,…
- CVE-2026-94493 — Critical (CVSS 10.0): A vulnerability was detected in Gigatech PDV5701 1.0.31_240305_112640. This issue affects some unknown processing of…
- CVE-2026-83099 — Critical (CVSS 10.0): Vulnerability in the Oracle Forms product of Oracle Fusion Middleware (component: Forms Services, C/S, Charmode).…
- CVE-2026-83059 — Critical (CVSS 10.0): Vulnerability in the Oracle Internet Directory product of Oracle Fusion Middleware (component: OID LDAP Server).…
Browse all CWE-287 (Improper Authentication) vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 175.195.238.137 (ipv4-addr)
- 166.168.209.105 (ipv4-addr)
- 79.100.204.121 (ipv4-addr)
- 203.95.196.246 (ipv4-addr)
- 164.160.27.241 (ipv4-addr)
- 115.74.246.52 (ipv4-addr)