# CVE-2024-8376: Memory leak

- Severity: High 7.2 (CVSS:4.0, scored by eclipse) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 56% of CVEs (2026-12-01)
- Published: 2024-10-11T15:18:54.142Z
- Modified: 2026-06-17T08:22:27.800Z
- Weaknesses: CWE-401, CWE-416, CWE-755
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- mosquitto: 2.0.18 (not affected: 2.0.19)
- eclipse mosquitto: before 2.0.19

## Every score

- eclipse: CVSS:4.0 7.2 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/216> (issue-tracking)
- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/217> (issue-tracking)
- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/218> (issue-tracking)
- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/227> (issue-tracking)
- <https://gitlab.eclipse.org/security/cve-assignement/-/issues/26> (issue-tracking, vendor-advisory)
- <https://github.com/eclipse/mosquitto/releases/tag/v2.0.19> (patch, product)
- <https://mosquitto.org/> (product)
- <https://github.com/eclipse-mosquitto/mosquitto/commit/1914b3ee2a18102d0a94cbdbbfeae1afa03edd17> (patch)

## Sources

- CVE List: [CVE-2024-8376](https://www.cve.org/CVERecord?id=CVE-2024-8376), CVE Terms of Use, modified 2024-10-31
- NVD: [CVE-2024-8376](https://nvd.nist.gov/vuln/detail/CVE-2024-8376), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-8376 · Whole record: https://cve.day/CVE-2024-8376.json · Rebuilt by cve.day 2026-11-25T22:58:46.684Z
