CVE-2024-8376: In Eclipse Mosquitto up to version 2.0.18a, an attacker can achieve memory leaking, segmentation fault or heap
CVE-2024-8376 is a high-severity flaw (CVSS 7.5) affecting mosquitto. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In Eclipse Mosquitto up to version 2.0.18a, an attacker can achieve memory leaking, segmentation fault or heap-use-after-free by sending specific sequences of "CONNECT", "DISCONNECT", "SUBSCRIBE", "UNSUBSCRIBE" and "PUBLISH" packets.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-8376?
mosquitto: upgrade to 2.0.19. Exact commands for each OS are on this page.
Is CVE-2024-8376 being exploited?
CVE-2024-8376 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-8376 affect?
CVE-2024-8376 affects mosquitto. Severity is high (CVSS 7.5). In Eclipse Mosquitto up to version 2.0.18a, an attacker can achieve memory leaking, segmentation fault or heap-use-after-free by sending specific sequences of "CONNECT", "DISCONNECT", "SUBSCRIBE", "UNSUBSCRIBE" and "PUBLISH" packets.
How urgent is CVE-2024-8376?
Priority 45/100. High severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2024-3935 MEDIUM 6.5 UPGRADE In Eclipse Mosquito, versions from 2.0.0 through 2.0.18, if a Mosquitto broker is configured to create an outg
- CVE-2024-10525 CRITICAL 9.8 UPGRADE In Eclipse Mosquitto, from version 1.3.2 through 2.0.18, if a malicious broker sends a crafted SUBACK packet w