CVE-2024-3935 json
Eclipse Mosquito: Double free vulnerability
published 2024-10-30 2 y ago modified 2026-06-17 4 mo 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
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.75% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
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
-
- CWE-415 Double Free
References
-
github.com
/eclipse-mosquitto/mosquitto/commit/ae7a804dadac8f2aaedb24336df8496a9680fda9
patch
-
gitlab.eclipse.org
/security/vulnerability-reports/-/issues/197
exploit, issue-tracking, vendor-advisory
-
mosquitto.org
/blog/2024/10/version-2-0-19-released/
release-notes
- lists.debian.org /debian-lts-announce/2025/02/msg00022.html
Sources
- CVE List CVE-2024-3935
- NVD CVE-2024-3935
Fencer Vulns 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.