CVEfocus › CVE database › CVE-2024-3935

CVE-2024-3935Eclipse Mosquito: Double free vulnerability

CVSS 6.0 MediumEPSS 1.2% (higher than 69% of CVEs)Published 2024-10-30Updated 2025-11-03Assigner: eclipse

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.

CWE-415

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
1Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04mosquittoNot affected
vulnerable_code_not_present
Ubuntu 25.10mosquittoNot affected
vulnerable_code_not_present
Ubuntu 24.04mosquittoFix pending2.0.18-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-3935
Ubuntu 22.04mosquittoFixed2.0.11-1ubuntu1.2UBUNTU-CVE-2024-3935
Debian 14mosquittoFixed2.0.20-1DEBIAN-CVE-2024-3935
Debian 13mosquittoFixed2.0.20-1DEBIAN-CVE-2024-3935
Debian 12mosquittoFixed2.0.11-1.2+deb12u2DEBIAN-CVE-2024-3935

What the vendor says

As published in the CVE record by eclipse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.