# CVE-2024-3935: Eclipse Mosquito: Double free vulnerability

- Priority: **Routine**
- Reason: Not severe (CVSS 6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-10-30 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2024-3935, DEBIAN-CVE-2024-3935, openSUSE-SU-2025:15074-1
- Record: https://cvemate.com/vulnerability/CVE-2024-3935 · JSON: https://cvemate.com/vulnerability/CVE-2024-3935/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.749%, percentile 56.307%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian mosquitto (Debian): \< 2.0.11-1.2+deb12u2 \| \< 2.0.20-1
- ubuntu mosquitto (Ubuntu): \< 2.0.11-1ubuntu1.2 \| \< 2.0.18-1ubuntu0.1~esm1
- eclipse foundation mosquitto: ≥ 2.0.0, ≤ 2.0.18
- eclipse mosquitto: ≥ 2.0.0, \< 2.0.19
- opensuse mosquitto&distro=openSUSE Tumbleweed (openSUSE): \< 2.0.21-2.1

## 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>
- <https://ubuntu.com/security/CVE-2024-3935>
- <https://www.cve.org/CVERecord?id=CVE-2024-3935>
- <https://ubuntu.com/security/notices/USN-7441-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-3935>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/ZVFEGLDJBY7EABGWWD3F2MDZ223VAMQ6/>
- <https://www.suse.com/security/cve/CVE-2024-3935>

---

Data as of 2026-12-05T03:44:43.205Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
