Skip to content
Fencer Intel
medium 6.5

CVE-2024-3935 json

Eclipse Mosquito: Double free vulnerability

published 2y ago modified 4mo ago also EUVD-2024-32502

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 55%
public exploits
0
none known

Summary

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.

Patch / fix

  • eclipse_foundation mosquitto 2.0.18
  • mosquitto Debian 12 2.0.11-1.2+deb12u2
  • mosquitto Debian 14, Debian 13 2.0.20-1

debian advisories DEBIAN-CVE-2024-3935

  • mosquitto Ubuntu 22.04 LTS 2.0.11-1ubuntu1.2
  • mosquitto Ubuntu Pro 24.04 LTS 2.0.18-1ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2024-3935

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • mosquitto openSUSE Leap 16.0 2.0.23-bp160.1.1
  • mosquitto openSUSE Tumbleweed 2.0.21-2.1

opensuse advisories openSUSE-SU-2026:20260-1openSUSE-SU-2025:15074-1

Is CVE-2024-3935 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
2y ago

Exploit prediction

0.75% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-11).

Exploits and checks

  • gitlab.eclipse.org https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/197 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 6.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
CNA 4.0 6.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

  • Eclipse Foundation mosquitto
  • eclipse_foundation mosquitto

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.