Eclipse Mosquito: Double free vulnerability
CVE-2024-3935Published 30 Oct 2024, 11:45 UTC
Real-world risk
0.9/ 10Low
Routine
If the vulnerable configuration applies to you: 2.0
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.0
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from eclipse)
In Eclipse Mosquito, versions from 2.0.0 through 2.0.18, if a Mosquitto broker is configured to create an outgoing bridge connection, and that bridge connection has an incoming topic configured that makes use of topic remapping, then if the remote connection sends a crafted PUBLISH packet to the broker a double free will occur with a subsequent crash of the broker.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Eclipse MosquittoNiche | >= 2.0.0, <= 2.0.18; >= 2.0.0, < 2.0.18 | 2.0.18 |
What to do
Update to a fixed version: 2.0.18.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.7% chance of exploitation in 30 days (percentile 56), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.270
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 0.27 × threat 0.850.918
- Rounded to one decimal between 0.1 and 100.9
Exploitation and evidence timeline
- 30 Oct 2024 Published
- 3 Dec 2026 Risk 0.9 (cvss fallback)
Weakness
CWE-415
References
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/197
- https://mosquitto.org/blog/2024/10/version-2-0-19-released/
- https://github.com/eclipse-mosquitto/mosquitto/commit/ae7a804dadac8f2aaedb24336df8496a9680fda9
- https://lists.debian.org/debian-lts-announce/2025/02/msg00022.html
- CVE-2024-3935 on CVE.org