CVE-2024-3935 is a double free in the Eclipse Mosquitto broker's bridge code: when a bridge's incoming topic uses topic remapping, a crafted PUBLISH from the remote broker crashes the local one. NVD scores it 6.5 for Mosquitto 2.0.0 through 2.0.18, version 2.0.19 fixes it, and CERT@VDE lists ADS-TEC IRF industrial firewalls as affected.
Vulnerability summary
CVSS base score
6.5
Medium severity
EPSS score (FIRST)
0.7%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2024-3935 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Eclipse Mosquitto broker (bridge with topic remapping) | cpe:2.3:a:eclipse:mosquitto:*:*:*:*:*:*:*:* | 2.0.0 up to (excluding) 2.0.19; fixed in 2.0.19 (2 October 2024) |
| ADS-TEC IRF1000 industrial firewalls (DVG-IRF1401, DVG-IRF1421) | — | firmware before 2.1.0; fixed in 2.1.0 (CERT@VDE VDE-2025-033) |
| ADS-TEC IRF2000 industrial firewalls (DVG-IRF2100, DVG-IRF2200, DVG-IRF2220, DVG-IRF2601, DVG-IRF2621) | — | firmware before 6.1.0; fixed in 6.1.0 (CERT@VDE VDE-2025-033) |
| ADS-TEC IRF3000 industrial firewalls (DVG-IRF3401, DVG-IRF3421, DVG-IRF3801, DVG-IRF3821) | — | firmware before 2.1.0; fixed in 2.1.0 (CERT@VDE VDE-2025-033) |
What does this mean for affected devices?
NVD's description of CVE-2024-3935 sets out three conditions: in Mosquitto 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". NVD scores it 6.5 (medium), vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, CWE-415; Eclipse's CVSS v4.0 score is 6.0 (NVD).
Bridges matter on edge gateways, which often run a local broker that forwards selected topics to a central or cloud broker and remaps the topic prefix on the way. The attacker is whoever controls, or can impersonate, the remote end of that bridge. The fix is commit ae7a804, "Fix crash on bridge using remapped topic being sent a crafted packet", shipped in Mosquitto 2.0.19 on 2 October 2024 together with the fixes for CVE-2024-8376 and CVE-2024-10525.
CERT@VDE advisory VDE-2025-033, published 14 April 2025, lists this CVE for ADS-TEC IRF1000 and IRF3000 firewalls before firmware 2.1.0 and IRF2000 firewalls before 6.1.0. ADS-TEC rescores it to 5.3 (AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H) because attacks "must be carried out via the MQTT server", and its interim advice is to connect only to trusted, TLS-secured brokers.
To check your own firmware, look for connection blocks in mosquitto.conf with a topic line that carries local and remote prefixes. A broker with no bridge, or a bridge without remapping, does not reach this code. Our MQTT protocol security guide covers bridge and broker authentication, and the Sparkplug B security guide lists this CVE for OT brokers.
Debian fixed it in bullseye 2.0.11-1+deb11u2 (DLA-4059-1) and bookworm 2.0.11-1.2+deb12u2 (Debian Security Tracker).
CVE-2024-3935 is not in the CISA KEV catalog as of 2026-11-17 (catalog version 2026.11.13), and FIRST EPSS gives it 0.0075, the 56th percentile, in the 2026-11-16 dataset (CISA KEV, FIRST EPSS).
To fix it, update ADS-TEC IRF devices to firmware 2.1.0 (IRF1000, IRF3000) or 6.1.0 (IRF2000), and ship Mosquitto 2.0.19 or later. Our memory corruption fix guide covers double frees as a class.
Evidence
- Double free and broker crash from a crafted PUBLISH over an outgoing bridge with topic remapping, Mosquitto 2.0.0 through 2.0.18; NVD CVSS 3.1 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), CWE-415; Eclipse CVSS 4.0 6.0. — NVD
- Fixed in Mosquitto 2.0.19 (2 October 2024), commit ae7a804 "Fix crash on bridge using remapped topic being sent a crafted packet". — Eclipse Mosquitto
- ADS-TEC IRF1000/IRF3000 before 2.1.0 and IRF2000 before 6.1.0 affected; product-context score 5.3. — CERT@VDE VDE-2025-033
- Debian fixed bullseye 2.0.11-1+deb11u2 (DLA-4059-1), bookworm 2.0.11-1.2+deb12u2. — Debian Security Tracker
- Not in the CISA KEV catalog as of 2026-11-17 (catalog version 2026.11.13). — CISA KEV
- EPSS 0.00749 (56th percentile), dataset 2026-11-16, read 2026-11-17. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Is every Mosquitto broker affected by CVE-2024-3935?
No. Only versions 2.0.0 through 2.0.18 configured with an outgoing bridge whose incoming topic uses topic remapping. A broker without such a bridge does not reach the faulty code (per NVD).
Which devices are affected by CVE-2024-3935?
CERT@VDE VDE-2025-033 lists ADS-TEC IRF1000 and IRF3000 firewalls before firmware 2.1.0 and IRF2000 firewalls before 6.1.0 (per CERT@VDE).
What fixes CVE-2024-3935?
Mosquitto 2.0.19, released 2 October 2024, or the ADS-TEC firmware updates 2.1.0 and 6.1.0. Debian backported the fix to 2.0.11 in bullseye and bookworm (per the Mosquitto release notes, CERT@VDE and the Debian Security Tracker).
Is CVE-2024-3935 in the CISA KEV catalog?
No, not as of 2026-11-17 (catalog version 2026.11.13). FIRST EPSS gives it 0.0075, the 56th percentile, in the 2026-11-16 dataset (per CISA KEV and FIRST EPSS).
Questions about this page?