CVE-2024-8376
published high CVSS 4.0 · 7.2Memory leak
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Eclipse Foundation | — | mosquittoMosquitto · 2.0.18 (affected) · 2.0.19 (unaffected) · Other versions: unaffected | Version-specific | Not stated | eclipse |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- eclipse · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Eclipse Foundation | Mosquitto | 2.0.18 (affected)2.0.19 (unaffected)Default: unaffected | eclipse · cna |
Weaknesses
3- CWE-401 CWE-401 Missing Release of Memory after Effective Lifetime
- CWE-416 CWE-416 Use After Free
- CWE-755 CWE-755 Improper Handling of Exceptional Conditions
References
8- https://github.com/eclipse-mosquitto/mosquitto/commit/1914b3ee2a18102d0a94cbdbbfeae1afa03edd17
- https://github.com/eclipse/mosquitto/releases/tag/v2.0.19
- https://gitlab.eclipse.org/security/cve-assignement/-/issues/26
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/216
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/217
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/218
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/227
- https://mosquitto.org/
Provider assertions
2eclipse · cna
Memory leak
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f62230437ecb99cfaa84fedc059aedc18de1673ae9b9c6c1bdb1bf3e5c8af3b2
- Ingested
- 23 Sep 2026, 08:34:06 UTC
- Source record
- Official CVE record