cve.bz

CVE-2024-3935 eclipse mosquitto: Double Free

6.0 mediumExploit referenceEPSS 0.7%Fix available

Medium (6.0) in eclipse mosquitto. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

6.0 medium
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

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 56th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-10-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-415 Double Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-3935 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-3935?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-3935?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-3935 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Eclipse Foundation mosquittofrom 2.0.0 through 2.0.18

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11mosquitto2.0.11-1+deb11u2DLA-4059-1
Debian12mosquitto2.0.11-1.2+deb12u2DEBIAN-CVE-2024-3935
Debian13, 14mosquitto2.0.20-1DEBIAN-CVE-2024-3935
Ubuntu22.04:LTSmosquitto2.0.11-1ubuntu1.2UBUNTU-CVE-2024-3935 USN-7441-1
UbuntuPro:14.04:LTSmosquitto0.15-2+deb7u3ubuntu0.1+esm1USN-7441-1
UbuntuPro:16.04:LTSmosquitto1.4.8-1ubuntu0.16.04.7+esm2USN-7441-1
UbuntuPro:18.04:LTSmosquitto1.4.15-2ubuntu0.18.04.3+esm2USN-7441-1
UbuntuPro:20.04:LTSmosquitto1.6.9-1ubuntu0.1~esm2USN-7441-1
UbuntuPro:24.04:LTSmosquitto2.0.18-1ubuntu0.1~esm1UBUNTU-CVE-2024-3935 USN-7441-1
openSUSELeap 16.0mosquitto2.0.23-bp160.1.1openSUSE-SU-2026:20260-1
openSUSETumbleweedmosquitto2.0.21-2.1openSUSE-SU-2025:15074-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

References

Check your stackJSON