CVE-2023-28366

Publication date 1 September 2023

Last updated 27 June 2025


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

Description

The broker in Eclipse Mosquitto 1.3.2 through 2.x before 2.0.16 has a memory leak that can be abused remotely when a client sends many QoS 2 messages with duplicate message IDs, and fails to respond to PUBREC commands. This occurs because of mishandling of EAGAIN from the libc send function.

Read the notes from the security team

Status

Package Ubuntu Release Status
mosquitto 23.10 mantic
Not affected
23.04 lunar
Fixed 2.0.11-1.2ubuntu0.1
22.04 LTS jammy
Fixed 2.0.11-1ubuntu1.1
20.04 LTS focal Ignored end of standard support, was ignored [backporting risks regressions]
18.04 LTS bionic Ignored end of standard support
16.04 LTS xenial Ignored end of standard support
14.04 LTS trusty
Not affected

Notes


gianz

Memory leak requiring refactoring of core functions to be fixed. Applying the patches to versions < 2.0.0 is likely to cause regressions.

Severity score breakdown

CVSS version: CVSS v3.0

Base score 7.5 · High

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H


Access our resources on patching vulnerabilities