# CVE-2024-3935: mosquitto: In Eclipse Mosquito, versions from 2.0.0 through 2.0.18, if a Mosquitto broker is configured to create an outgoing br...

CVE-2024-3935 is fixed in 4 products on 1 platform, first by libmosquitto1 2.0.11-1ubuntu1.2, released October 30, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-3935
- Priority: Routine
- CVSS: 6.5 (medium)
- EPSS: 0.0075
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 30, 2024

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libmosquitto1 Ubuntu 22.04.1 LTS (jammy) | 2.0.11-1ubuntu1.2 | [libmosquitto1 2.0.11-1ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libmosquitto1-2.0.11-1ubuntu1.2.md) | Oct 30, 2024 |
| Linux | libmosquitto1 Ubuntu 24.04.5 LTS (noble) | 2.0.18-1ubuntu0.1~esm1 | [libmosquitto1 2.0.18-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libmosquitto1-2.0.18-1ubuntu0.1-esm1.md) | Oct 30, 2024 |
| Linux | libmosquittopp1 Ubuntu 22.04.1 LTS (jammy) | 2.0.11-1ubuntu1.2 | [libmosquittopp1 2.0.11-1ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libmosquittopp1-2.0.11-1ubuntu1.2.md) | Oct 30, 2024 |
| Linux | libmosquittopp1 Ubuntu 24.04.5 LTS (noble) | 2.0.18-1ubuntu0.1~esm1 | [libmosquittopp1 2.0.18-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libmosquittopp1-2.0.18-1ubuntu0.1-esm1.md) | Oct 30, 2024 |
| Linux | mosquitto Debian 12.15 (bookworm) | 2.0.11-1.2+deb12u2 | [DEBIAN-CVE-2024-3935](https://patchblox.com/security/data/fix/linux/debian-cve-2024-3935.md) | Oct 30, 2024 |
| Linux | mosquitto Debian 13.5 (trixie) | 2.0.20-1 | [DEBIAN-CVE-2024-3935](https://patchblox.com/security/data/fix/linux/debian-cve-2024-3935.md) | Oct 30, 2024 |
| Linux | mosquitto Debian 14 | 2.0.20-1 | [DEBIAN-CVE-2024-3935](https://patchblox.com/security/data/fix/linux/debian-cve-2024-3935.md) | Oct 30, 2024 |
| Linux | mosquitto Ubuntu 22.04.1 LTS (jammy) | 2.0.11-1ubuntu1.2 | [mosquitto 2.0.11-1ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-mosquitto-2.0.11-1ubuntu1.2.md) | Oct 30, 2024 |
| Linux | mosquitto Ubuntu 24.04.5 LTS (noble) | 2.0.18-1ubuntu0.1~esm1 | [mosquitto 2.0.18-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-mosquitto-2.0.18-1ubuntu0.1-esm1.md) | Oct 30, 2024 |
| Linux | mosquitto opensuse-leap 16.0 | 2.0.23-bp160.1.1 | [OPENSUSE-SU-2026:20260-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20260-1.md) | Feb 23, 2026 |
| Linux | mosquitto-clients Ubuntu 22.04.1 LTS (jammy) | 2.0.11-1ubuntu1.2 | [mosquitto-clients 2.0.11-1ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-mosquitto-clients-2.0.11-1ubuntu1.2.md) | Oct 30, 2024 |
| Linux | mosquitto-clients Ubuntu 24.04.5 LTS (noble) | 2.0.18-1ubuntu0.1~esm1 | [mosquitto-clients 2.0.18-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-mosquitto-clients-2.0.18-1ubuntu0.1-esm1.md) | Oct 30, 2024 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
