Excessive Iteration Affecting mosquitto package, versions [,2.0.7)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.8% (56th 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-10077702
  • published8 May 2025
  • disclosed18 Oct 2023
  • creditUnknown

Introduced: 18 Oct 2023

CVE-2023-5632  (opens in a new tab)
CWE-834  (opens in a new tab)

How to fix?

Upgrade mosquitto to version 2.0.7 or higher.

Overview

Affected versions of this package are vulnerable to Excessive Iteration when establishing a connection to the server without sending data. This causes an EPOLLOUT event to be added, leading to excessive CPU consumption. An attacker can cause a denial of service by exploiting this vulnerability.

CVSS Base Scores

version 3.1