Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure operator to hostile broker
-
ExploitOperator runs mosquitto_ctrl
-
ExecutionBroker returns non-string "error" field
-
ImpactNULL-pointer dereference crashes utility
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires running the mosquitto_ctrl administrative utility (versions 2.1.0-2.1.2) and connecting it to an attacker-controlled, malicious, or impersonated MQTT broker; that broker must then return a $CONTROL reply containing an "error" field whose value is a non-string JSON type, triggering the NULL-pointer dereference. Limiting factors: the attacker must control or impersonate the broker the operator chooses to interact with (the vulnerable party is a client-side admin tool, not a listening server), so this is not remote-unauthenticated exploitation of a default broker deployment; impact is confined to a crash of the transient CLI utility with no code execution, no confidentiality/integrity effect, and no broker service disruption. Updating to 2.1.3 is the fix. |
| Impact | The headline CVSS 7.5 is driven entirely by the A:H availability metric, but the signals conflict with that severity. The flaw is a client-side denial of service in the mosquitto_ctrl administrative CLI (CWE-476 NULL-pointer dereference per the Eclipse GHSA advisory; NVD lists only CWE-20), triggered when the utility interacts with a hostile broker that returns a non-string "error" value. The CVSS vector reads AV:N/AC:L/PR:N/UI:N, yet the description makes clear exploitation requires an operator to point mosquitto_ctrl at an attacker-controlled or impersonated broker - a precondition the base vector does not capture and which sharply limits real-world exposure. Supporting signals are low: EPSS is 0.21% (11th percentile), there is no CISA KEV listing, and no public exploit is identified; the vuln.today decision label is only this_week, not act_now/emergency. The impact is also narrow - only a transient command-line utility crashes, with no confidentiality/integrity effect and no code execution - so A:H arguably overstates the real severity. Net: a low-priority, limited-scope DoS rather than a widespread high-risk issue; patch on a normal maintenance cadence to 2.1.3. |
| Exploit ScenarioDerived | An attacker who controls or impersonates an MQTT broker waits for an administrator to run mosquitto_ctrl (versions 2.1.0-2.1.2) against it. The broker replies to a $CONTROL request with an "error" field set to a non-string JSON value, triggering a NULL-pointer dereference that crashes the utility. Impact is limited to the client tool - no code execution and no broker/server compromise - and no public exploit is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 19, 2026
The mosquitto_ctrl administrative CLI shipped with Eclipse Mosquitto 2.1.0 through 2.1.2 crashes when it connects to a hostile or impersonated MQTT broker that answers a $CONTROL request with an "error" field carrying a non-string JSON value, producing a NULL-pointer dereference (CWE-20 / CWE-476). The published CVSS 7.5 score is driven entirely by an A:H availability metric, but the assessed vector (UI:R, A:L) reflects the real prerequisites: the operator must deliberately run the tool against an attacker-controlled broker, the vulnerable component is a client-side utility rather than a listening server, and the outcome is a crash of that transient process with no code execution, no confidentiality or integrity effect, and no disruption of the broker service itself. EPSS is 0.21% (11th percentile), there is no CISA KEV listing, and no public exploit has been identified at time of analysis; the priority label is this_week and the fix is the 2.1.3 release.
Earlier versions of this analysis (1)
Crash of the Eclipse Mosquitto mosquitto_ctrl administrative utility, as shipped in releases 2.1.0 through 2.1.2, occurs when an operator uses it to connect to an attacker-controlled MQTT broker that supplies a non-string value in an 'error' field of its response. The defect is client-side only: the broker service and other MQTT clients are unaffected, and triggering it requires the victim to actively initiate a session against a hostile broker, which is why the vendor advises connecting only to trusted brokers. Severity is assessed as low (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L), no public exploit code or active exploitation was identified at time of analysis, and the project has published a GitHub security advisory (GHSA-c9wr-998w-8wf5).
RemediationAI
Vendor-released patch: Eclipse Mosquitto 2.1.3. Upgrade any installation on the 2.1.0-2.1.2 branch to 2.1.3, as directed by the upstream advisory GHSA-c9wr-998w-8wf5 (https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-c9wr-998w-8wf5); because the defect lives in the mosquitto_ctrl client binary, updating that utility's package is what removes the exposure, and no broker configuration change substitutes for it. Until the update is deployed, restrict use of mosquitto_ctrl to brokers you control or whose authenticity you have verified - the crash can only be provoked by a broker that is malicious or impersonated, so discontinuing administrative use of the tool against untrusted endpoints, or brokering those connections through a pinned/verified TLS endpoint, removes the trigger; the trade-off is that operators lose the convenience of ad-hoc control operations against external brokers and must rely on trusted administrative paths. Note that the failure mode is a transient crash of the CLI process, so a restart of the utility is sufficient recovery, but it will recur on each hostile reply until 2.1.3 is installed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Mosquitto implements the MQTT publish/subscribe protocol, and mosquitto_ctrl is a command-line administration client that issues control requests to a broker and parses the JSON reply. The root cause is improper validation of input (CWE-20) that leads to a NULL-pointer dereference (CWE-476): the tool expects the "error" member of a $CONTROL response to be a JSON string, and when the peer instead supplies a value of a different JSON type the parsing path dereferences a pointer that was never populated and the process aborts. Because the trust boundary is inverted - the malicious party is the broker, not a client - the attack surface is limited to a user-initiated connection from an administrative CLI, and any code following the crash-prone parse is unreachable once the utility terminates. The affected artifact is the mosquitto_ctrl binary in Mosquitto 2.1.0-2.1.2 (EUVD lists the same range); the condition was corrected in 2.1.3.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Requires an operator to run mosquitto_ctrl against an attacker-controlled broker (UI:R); only the transient client utility crashes with no server impact, so A:L not A:H.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
3Description PRE-NVD
Technical POC Analysis
The bug is improper input validation (CWE-20) that results in a NULL-pointer dereference (CWE-476).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Eclipse Mosquitto versions 2.1.0 through 2.1.2 contain a high-severity vulnerability in the mosquitto_ctrl administrative CLI that can cause a crash when connecting to a malicious broker. This affects only operators who manually run the tool against a hostile broker, resulting in a local denial-of-service without compromising the broker service, data confidentiality, or integrity. Leadership should care because it could disrupt administrative workflows, but the risk is limited to specific user actions and the vendor has released a fix.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-128525
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB