Memory Leak Affecting mosquitto package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.74% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-MOSQUITTO-8231136
  • published28 Mar 2025
  • disclosed11 Oct 2024

Introduced: 11 Oct 2024

CVE-2024-8376  (opens in a new tab)
CWE-401  (opens in a new tab)
CWE-416  (opens in a new tab)
CWE-755  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:20.04 mosquitto.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mosquitto package and not the mosquitto package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1