Uncontrolled Resource Consumption ('Resource Exhaustion') Affecting mosquitto package, versions [,2.0.18)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.71% (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-CONAN-MOSQUITTO-10077700
  • published8 May 2025
  • disclosed2 Oct 2023
  • creditUnknown

Introduced: 2 Oct 2023

CVE-2023-0809  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade mosquitto to version 2.0.18 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') when the initial packets are processed. An attacker can cause the system to allocate excessive memory by sending malicious initial packets that are not CONNECT packets. This can potentially lead to a denial of service.

CVSS Base Scores

version 3.1