What’s Vulnerable › Vulnerabilities
CVE-2024-3935: Eclipse Mosquito: Double free vulnerability
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-10-30 · updated 2026-06-17
- Weakness: CWE-415
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.
Affected products
- The Eclipse Foundation Eclipse Mosquitto: from 2.0.0 before 2.0.19 — fixed in 2.0.19
How to fix
Upgrade to a fixed version: The Eclipse Foundation Eclipse Mosquitto 2.0.19. Check the vendor advisory for mitigations.
References
- https://github.com/eclipse-mosquitto/mosquitto/commit/ae7a804dadac8f2aaedb24336df8496a9680fda9
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/197
- https://mosquitto.org/blog/2024/10/version-2-0-19-released/
- https://lists.debian.org/debian-lts-announce/2025/02/msg00022.html
Get alerted when CVE-2024-3935 or the next vulnerability affects your stack