Skip to content
OpenAdvisories
Medium · 6.0 CVE-2024-3935 EUVD-2024-32502GHSA-r5mw-c5jc-r788

Eclipse Mosquito: Double free vulnerability

Published Oct 30, 2024 · Updated Nov 3, 2025 · Assigned by eclipse

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

VendorProductAffectedFixed
Eclipse Foundation mosquitto 2.0.0 – ≤ 2.0.18 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mosquitto 2.0.20-1 —
Debian 13 mosquitto 2.0.20-1 —
Debian 12 mosquitto 2.0.11-1.2+deb12u2 —
Debian 11 mosquitto 2.0.11-1+deb11u2 DLA-4059-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS mosquitto 2.0.11-1ubuntu1.2 USN-7441-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS mosquitto 2.0.18-1ubuntu0.1~esm1 USN-7441-1
Ubuntu Pro 20.04 LTS mosquitto 1.6.9-1ubuntu0.1~esm2 USN-7441-1
Ubuntu Pro 18.04 LTS mosquitto 1.4.15-2ubuntu0.18.04.3+esm2 USN-7441-1
Ubuntu Pro 16.04 LTS mosquitto 1.4.8-1ubuntu0.16.04.7+esm2 USN-7441-1
Ubuntu Pro 14.04 LTS mosquitto 0.15-2+deb7u3ubuntu0.1+esm1 USN-7441-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed mosquitto 2.0.21-2.1 openSUSE-SU-2025:15074-1
openSUSE Leap 16.0 mosquitto 2.0.23-bp160.1.1 openSUSE-SU-2026:20260-1

Advisories 6

References