CVE-2024-8376
CVE-2024-8376 is a high-severity vulnerability in Eclipse Mosquitto with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-401.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v4: 7.2
- EPSS exploit prediction: 1% (52nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-49133
- Weakness: CWE-401
- Affected product: Eclipse Mosquitto
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-8376?
- 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 severe is CVE-2024-8376?
- CVE-2024-8376 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2024-8376 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (52nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-8376?
- CVE-2024-8376 affects Eclipse Mosquitto. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-8376?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-8376 have an EU (EUVD) identifier?
- Yes. CVE-2024-8376 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-49133.
- When was CVE-2024-8376 published?
- CVE-2024-8376 was published on 2024-10-11 and last updated on 2026-06-17.
References
- 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/
Affected products (1)
- cpe:2.3:a:eclipse:mosquitto:*:*:*:*:*:*:*:*
More vulnerabilities in Eclipse Mosquitto
- CVE-2024-10525 — Critical (CVSS 9.8): In Eclipse Mosquitto, from version 1.3.2 through 2.0.18, if a malicious broker sends a crafted SUBACK packet with no…
- CVE-2018-12551 — High (CVSS 8.1): When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use a password file for authentication, any…
- CVE-2018-12550 — High (CVSS 8.1): When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use an ACL file, and that ACL file is empty,…
- CVE-2023-5632 — High (CVSS 7.5): In Eclipse Mosquito before and including 2.0.5, establishing a connection to the mosquitto server without sending data…
- CVE-2023-28366 — High (CVSS 7.5): The broker in Eclipse Mosquitto 1.3.2 through 2.x before 2.0.16 has a memory leak that can be abused remotely when a…
- CVE-2021-41039 — High (CVSS 7.5): In versions 1.6 to 2.0.11 of Eclipse Mosquitto, an MQTT v5 client connecting with a large number of user-property…
All CVEs affecting Eclipse Mosquitto →
Other CWE-401 (Missing Release of Memory after Effective Lifetime) vulnerabilities
- CVE-2026-46289 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: lib/scatterlist: fix length calculations in…
- CVE-2025-39948 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: ice: fix Rx page leak on multi-buffer frames The…
- CVE-2025-21954 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: netmem: prevent TX of unreadable skbs Currently…
- CVE-2024-57947 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_set_pipapo: fix initial map…
- CVE-2024-56779 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: nfsd: fix nfs4_openowner leak when concurrent…
- CVE-2024-36911 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: hv_netvsc: Don't free decrypted memory In CoCo…
Browse all CWE-401 (Missing Release of Memory after Effective Lifetime) vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 109.50.185.153 (ipv4-addr)
- 175.195.238.137 (ipv4-addr)
- 222.118.59.16 (ipv4-addr)
- 182.95.185.158 (ipv4-addr)
- 182.95.101.182 (ipv4-addr)
- 182.76.86.130 (ipv4-addr)
- 128.185.201.170 (ipv4-addr)
- 125.19.157.158 (ipv4-addr)