# CVE-2024-3935: Eclipse Mosquito: Double free vulnerability

- Severity: Medium 6.0 (CVSS:4.0, scored by eclipse) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-30T11:45:23.506Z
- Modified: 2026-06-17T07:45:30.607Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- mosquitto: from 2.0.0 up to 2.0.18
- eclipse_foundation mosquitto: from 2.0.0 before 2.0.18
- eclipse mosquitto: from 2.0.0 before 2.0.19

## Every score

- eclipse: 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`
- NVD: 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`

## References

- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/197> (exploit, issue-tracking, vendor-advisory)
- <https://mosquitto.org/blog/2024/10/version-2-0-19-released/> (release-notes)
- <https://github.com/eclipse-mosquitto/mosquitto/commit/ae7a804dadac8f2aaedb24336df8496a9680fda9> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00022.html>

## Sources

- CVE List: [CVE-2024-3935](https://www.cve.org/CVERecord?id=CVE-2024-3935), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2024-3935](https://nvd.nist.gov/vuln/detail/CVE-2024-3935), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-3935 · Whole record: https://cve.day/CVE-2024-3935.json · Rebuilt by cve.day 2026-11-25T22:58:47.526Z
