# CVE-2024-8376: Memory leak

- Priority: **Routine**
- Reason: Not severe (CVSS 7.2, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-10-11 · Modified: 2024-10-31
- Aliases: UBUNTU-CVE-2024-8376, DEBIAN-CVE-2024-8376
- Record: https://cvemate.com/vulnerability/CVE-2024-8376 · JSON: https://cvemate.com/vulnerability/CVE-2024-8376/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.749%, percentile 56.286%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian mosquitto (Debian): \< 2.0.11-1.2+deb12u2 \| \< 2.0.20-1
- ubuntu mosquitto (Ubuntu): All versions (No fix recorded)
- eclipse foundation mosquitto: 2.0.18
- eclipse mosquitto: \< 2.0.19

## References

- <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://gitlab.eclipse.org/security/cve-assignement/-/issues/26>
- <https://github.com/eclipse/mosquitto/releases/tag/v2.0.19>
- <https://mosquitto.org/>
- <https://github.com/eclipse-mosquitto/mosquitto/commit/1914b3ee2a18102d0a94cbdbbfeae1afa03edd17>
- <https://ubuntu.com/security/CVE-2024-8376>
- <https://www.cve.org/CVERecord?id=CVE-2024-8376>
- <https://security-tracker.debian.org/tracker/CVE-2024-8376>

---

Data as of 2026-12-05T03:59:42.875Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
