Skip to main content
CVE-2024-8376VulnerabilityPublished Updated

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

Affects mosquittoSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High.

Data as of 24 Nov 2026, 19:25 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Oct 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu Pro 24.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 2.0.18-1 – 2.0.18-1ubuntu0.1~esm1
5 affected builds
Fixed in–
Ubuntu 22.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=jammyOther threatsAffected
  • 2.0.11-1 – 2.0.11-1ubuntu1.2
5 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=esm-apps/focalOther threatsAffected
  • 1.6.6-1 – 1.6.9-1ubuntu0.1~esm2
8 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 1.4.12-1 – 1.4.15-2ubuntu0.18.04.3+esm2
11 affected builds
Fixed in–
Ubuntu Pro 16.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=esm-apps/xenialOther threatsAffected
  • 1.4.3-1 – 1.4.8-1ubuntu0.16.04.7+esm2
14 affected builds
Fixed in–
Ubuntu Pro 14.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • 0.15-2+deb7u3ubuntu0.1 – 0.15-2ubuntu1.2
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…