CVE-2024-3935 in Eclipse Mosquitto
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Eclipse | Mosquitto | ≥ 2.0.0, < 2.0.19 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-3935 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-201299-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Published | 2024-10-30 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-415: CWE-415
Analysis AI-written, not human-reviewed
A vulnerability in Eclipse Mosquitto versions 2.0.0 through 2.0.18 allows a remote attacker to cause a double free and broker crash by sending a crafted PUBLISH packet to a broker configured with an outgoing bridge connection and topic remapping.
The attack vector involves an attacker sending a specially crafted PUBLISH packet to a Mosquitto broker that has an outgoing bridge connection configured with topic remapping. This can lead to a double free condition, resulting in a broker crash.
Questions
What is CVE-2024-3935?
A vulnerability in Eclipse Mosquitto versions 2.0.0 through 2.0.18 allows a remote attacker to cause a double free and broker crash by sending a crafted PUBLISH packet to a broker configured with an outgoing bridge connection and topic remapping.
What is the CVSS score for CVE-2024-3935?
CVE-2024-3935 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. EPSS: 1.2%.
Is CVE-2024-3935 actively exploited?
No confirmed active exploitation of CVE-2024-3935 as of 2026-09-25.
How do I remediate CVE-2024-3935?
Priority: HIGH. Advisory: https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/197 PSIRT: [email protected]
What systems are affected by CVE-2024-3935?
CVE-2024-3935 affects Eclipse Mosquitto.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Eclipse","product":"Mosquitto","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.