Broker crash via dangling remapped-topic pointer
Published Oct 30, 2024 · Updated Nov 3, 2025
Double free in Eclipse Mosquitto 2.0.0 through 2.0.18 allows remote attackers to crash the broker with a crafted PUBLISH packet. bridge__remap_topic_in frees the topic after a remapping error but leaves the caller-visible pointer non-null, causing a later cleanup path to free the same allocation again. Exploitation requires an outgoing bridge whose incoming topic uses remapping and control of the remote bridge connection; the reported consequence is a broker crash.
Summary
What happened
Double free in Eclipse Mosquitto 2.0.0 through 2.0.18 allows remote attackers to crash the broker with a crafted PUBLISH packet. bridge__remap_topic_in frees the topic after a remapping error but leaves the caller-visible pointer non-null, causing a later cleanup path to free the same allocation again. Exploitation requires an outgoing bridge whose incoming topic uses remapping and control of the remote bridge connection; the reported consequence is a broker crash.
The record
- CVE
- CVE-2024-3935
- Published
- Oct 30, 2024
- Updated
- Nov 3, 2025
- Vendor
- The Eclipse Foundation
- Product
- Eclipse Mosquitto
- Classifications
- CWE-415, T1499
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 30, 2024CVE publishedPublication date reported by the CVE source.
- Nov 3, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.0.0 <=2.0.18
- Affected versionversion=2.0.0 <2.0.18
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Upstream bridge remapping regression triggerfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo