Every CVE Search/ Get API key

CVE-2023-28366

The broker in Eclipse Mosquitto 1.3.2 through 2.x before 2.0.16 has a memory leak that can be...

7.5 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.31%Up 1.3 points since Sep 2, 2023
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2023-28366
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-401
Updated
2026-11-02
CVE List 7.5

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.

Record
CVE-2023-28366
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-401
Updated
2026-11-02
EUVDEUVD-2023-32063 7.5

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.

Record
EUVD-2023-32063
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-897v-899r-j3hg 7.5

The broker in Eclipse Mosquitto 1.3.2 through 2.x before 2.0.16 has a memory leak that can be...

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.

Record
GHSA-897v-899r-j3hg
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-401
Updated
2026-11-02
OSVALPINE-CVE-2023-28366 7.5

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.

Record
ALPINE-CVE-2023-28366
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVBELL-CVE-2023-28366 7.5

CVE-2023-28366 does not affect BellSoft software

Record
BELL-CVE-2023-28366
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 11 moreShow less
OSV 7.5

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.

Record
CVE-2023-28366
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2023-28366 7.5

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.

Record
DEBIAN-CVE-2023-28366
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2023-1658 7.5

mosquitto security update

Mosquitto is an open source message broker that implements the MQ Telemetry Transport protocol version 3.1 and 3.1.1 MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for "machine to machine" messaging such as with low power sensors or mobile devices such as phones, embedded computers or micro-controllers like the Arduino.

Security Fix(es):

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.(CVE-2023-28366)

Record
OESA-2023-1658
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2023-1659 7.5

mosquitto security update

Mosquitto is an open source message broker that implements the MQ Telemetry Transport protocol version 3.1 and 3.1.1 MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for "machine to machine" messaging such as with low power sensors or mobile devices such as phones, embedded computers or micro-controllers like the Arduino.

Security Fix(es):

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.(CVE-2023-28366)

Record
OESA-2023-1659
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2023-1680 7.5

mosquitto security update

Mosquitto is an open source message broker that implements the MQ Telemetry Transport protocol version 3.1 and 3.1.1 MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for "machine to machine" messaging such as with low power sensors or mobile devices such as phones, embedded computers or micro-controllers like the Arduino.

Security Fix(es):

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.(CVE-2023-28366)

Record
OESA-2023-1680
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:0797 8.1

Red Hat Security Advisory: Satellite 6.14.2 Async Security Update

Record
RHSA-2024:0797
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2024:1061 7.5

Red Hat Security Advisory: Red Hat Satellite 6 security and bug fix update

Record
RHSA-2024:1061
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2023-28366 7.5

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.

Record
UBUNTU-CVE-2023-28366
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2025-0106 No score

Updated mosquitto packages fix security vulnerability

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.

Record
MGASA-2025-0106
Updated
2026-11-02
OSVopenSUSE-SU-2024:13546-1 No score

libmosquitto1-2.0.18-1.1 on GA media

These are all security issues fixed in the libmosquitto1-2.0.18-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13546-1
Updated
2026-11-02
OSVUSN-6492-1 No score

mosquitto vulnerabilities

Kathrin Kleinhammer discovered that Mosquitto incorrectly handled certain inputs. If a user or an automated system were provided with a specially crafted input, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-34431)

Zhanxiang Song discovered that Mosquitto incorrectly handled certain inputs. If a user or an automated system were provided with a specially crafted input, a remote attacker could possibly use this issue to cause an authorisation bypass. This issue only affected Ubuntu 22.04 LTS and Ubuntu 23.04. (CVE-2021-34434)

Zhanxiang Song, Bin Yuan, DeQing Zou, and Hai Jin discovered that Mosquitto incorrectly handled certain inputs. If a user or an automated system were provided with a specially crafted input, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2021-41039)

Zhengjie Du discovered that Mosquitto incorrectly handled certain inputs. If a user or an automated system were provided with a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2023-0809)

It was discovered that Mosquitto incorrectly handled certain inputs. If a user or an automated system were provided with a specially crafted input, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2023-3592)

Mischa Bachmann discovered that Mosquitto incorrectly handled certain inputs. If a user or an automated system were provided with a specially crafted input, a remote attacker could possibly use this issue to cause a denial of service. This issue was only fixed in Ubuntu 22.04 LTS and Ubuntu 23.04. (CVE-2023-28366)

Record
USN-6492-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
mosquitto
Alpine:v3.18
1.3.2 up to 2.0.16-r0
2.0.16-r0
mosquitto
Alpine:v3.19
1.3.2 up to 2.0.16-r0
2.0.16-r0
mosquitto
Alpine:v3.20
1.3.2 up to 2.0.16-r0
2.0.16-r0
mosquitto
Alpine:v3.21
1.3.2 up to 2.0.16-r0
2.0.16-r0
mosquitto
Alpine:v3.22
1.3.2 up to 2.0.16-r0
2.0.16-r0
mosquitto
Alpine:v3.23
1.3.2 up to 2.0.16-r0
2.0.16-r0
mosquitto
Alpine:v3.24
1.3.2 up to 2.0.16-r0
2.0.16-r0
mosquitto
Debian:12
before 2.0.11-1.2+deb12u1, plus listed versions
2.0.11-1.2
2.0.11-1.2+deb12u1
mosquitto
Debian:13
before 2.0.17-1
2.0.17-1
mosquitto
Debian:14
before 2.0.17-1
2.0.17-1
Show 52 moreShow less
Affected packages
PackageAffectedFixed
mosquitto
Debian:11
From an advisory covering 4 CVEs
before 2.0.11-1+deb11u1, plus listed versions
2.0.11-1
2.0.11-1+deb11u1
mosquitto
Debian:12
From an advisory covering 4 CVEs
before 2.0.11-1.2+deb12u1, plus listed versions
2.0.11-1.2
2.0.11-1.2+deb12u1
mosquitto
Mageia:9
before 2.0.21-1.mga9
2.0.21-1.mga9
mosquitto
openEuler:22.03-LTS-SP1
before 2.0.16-1.oe2203sp1
2.0.16-1.oe2203sp1
mosquitto
openEuler:22.03-LTS-SP2
before 2.0.16-1.oe2203sp2
2.0.16-1.oe2203sp2
mosquitto
openEuler:22.03-LTS
before 2.0.16-1.oe2203
2.0.16-1.oe2203
mosquitto
Red Hat:satellite_capsule:6.14::el8
From an advisory covering 10 CVEs
before 0:2.0.17-1.el8sat
0:2.0.17-1.el8sat
mosquitto-debuginfo
Red Hat:satellite_capsule:6.14::el8
From an advisory covering 10 CVEs
before 0:2.0.17-1.el8sat
0:2.0.17-1.el8sat
mosquitto-debugsource
Red Hat:satellite_capsule:6.14::el8
From an advisory covering 10 CVEs
before 0:2.0.17-1.el8sat
0:2.0.17-1.el8sat
mosquitto
Red Hat:satellite:6.14::el8
From an advisory covering 10 CVEs
before 0:2.0.17-1.el8sat
0:2.0.17-1.el8sat
mosquitto-debuginfo
Red Hat:satellite:6.14::el8
From an advisory covering 10 CVEs
before 0:2.0.17-1.el8sat
0:2.0.17-1.el8sat
mosquitto-debugsource
Red Hat:satellite:6.14::el8
From an advisory covering 10 CVEs
before 0:2.0.17-1.el8sat
0:2.0.17-1.el8sat
rubygem-grpc
Red Hat:satellite:6.14::el8
From an advisory covering 10 CVEs
before 0:1.58.0-1.el8sat
0:1.58.0-1.el8sat
puppetserver
Red Hat:satellite_capsule:6.14::el8
From an advisory covering 10 CVEs
before 0:7.14.0-1.el8sat
0:7.14.0-1.el8sat
puppetserver
Red Hat:satellite:6.14::el8
From an advisory covering 10 CVEs
before 0:7.14.0-1.el8sat
0:7.14.0-1.el8sat
rubygem-sidekiq
Red Hat:satellite:6.14::el8
From an advisory covering 10 CVEs
before 0:6.5.12-1.el8sat
0:6.5.12-1.el8sat
candlepin
Red Hat:satellite:6.14::el8
From an advisory covering 10 CVEs
before 0:4.3.11-1.el8sat
0:4.3.11-1.el8sat
candlepin-selinux
Red Hat:satellite:6.14::el8
From an advisory covering 10 CVEs
before 0:4.3.11-1.el8sat
0:4.3.11-1.el8sat
puppet-agent
Red Hat:satellite_capsule:6.14::el8
From an advisory covering 10 CVEs
before 0:7.27.0-1.el8sat
0:7.27.0-1.el8sat
puppet-agent
Red Hat:satellite:6.14::el8
From an advisory covering 10 CVEs
before 0:7.27.0-1.el8sat
0:7.27.0-1.el8sat
rubygem-puma
Red Hat:satellite:6.14::el8
From an advisory covering 10 CVEs
before 0:6.3.1-1.el8sat
0:6.3.1-1.el8sat
rubygem-puma-debuginfo
Red Hat:satellite:6.14::el8
From an advisory covering 10 CVEs
before 0:6.3.1-1.el8sat
0:6.3.1-1.el8sat
rubygem-puma-debugsource
Red Hat:satellite:6.14::el8
From an advisory covering 10 CVEs
before 0:6.3.1-1.el8sat
0:6.3.1-1.el8sat
foreman
Red Hat:satellite_capsule:6.13::el8
From an advisory covering 5 CVEs
before 0:3.5.1.24-1.el8sat
0:3.5.1.24-1.el8sat
foreman
Red Hat:satellite_utils:6.13::el8
From an advisory covering 5 CVEs
before 0:3.5.1.24-1.el8sat
0:3.5.1.24-1.el8sat
foreman
Red Hat:satellite:6.13::el8
From an advisory covering 5 CVEs
before 0:3.5.1.24-1.el8sat
0:3.5.1.24-1.el8sat
mosquitto
Red Hat:satellite_capsule:6.13::el8
From an advisory covering 5 CVEs
before 0:2.0.17-1.el8sat
0:2.0.17-1.el8sat
mosquitto-debuginfo
Red Hat:satellite_capsule:6.13::el8
From an advisory covering 5 CVEs
before 0:2.0.17-1.el8sat
0:2.0.17-1.el8sat
mosquitto-debugsource
Red Hat:satellite_capsule:6.13::el8
From an advisory covering 5 CVEs
before 0:2.0.17-1.el8sat
0:2.0.17-1.el8sat
mosquitto
Red Hat:satellite:6.13::el8
From an advisory covering 5 CVEs
before 0:2.0.17-1.el8sat
0:2.0.17-1.el8sat
mosquitto-debuginfo
Red Hat:satellite:6.13::el8
From an advisory covering 5 CVEs
before 0:2.0.17-1.el8sat
0:2.0.17-1.el8sat
mosquitto-debugsource
Red Hat:satellite:6.13::el8
From an advisory covering 5 CVEs
before 0:2.0.17-1.el8sat
0:2.0.17-1.el8sat
foreman-debug
Red Hat:satellite_capsule:6.13::el8
From an advisory covering 5 CVEs
before 0:3.5.1.24-1.el8sat
0:3.5.1.24-1.el8sat
foreman-cli
Red Hat:satellite_utils:6.13::el8
From an advisory covering 5 CVEs
before 0:3.5.1.24-1.el8sat
0:3.5.1.24-1.el8sat
foreman-cli
Red Hat:satellite:6.13::el8
From an advisory covering 5 CVEs
before 0:3.5.1.24-1.el8sat
0:3.5.1.24-1.el8sat
foreman-debug
Red Hat:satellite:6.13::el8
From an advisory covering 5 CVEs
before 0:3.5.1.24-1.el8sat
0:3.5.1.24-1.el8sat
foreman-dynflow-sidekiq
Red Hat:satellite:6.13::el8
From an advisory covering 5 CVEs
before 0:3.5.1.24-1.el8sat
0:3.5.1.24-1.el8sat
foreman-ec2
Red Hat:satellite:6.13::el8
From an advisory covering 5 CVEs
before 0:3.5.1.24-1.el8sat
0:3.5.1.24-1.el8sat
foreman-journald
Red Hat:satellite:6.13::el8
From an advisory covering 5 CVEs
before 0:3.5.1.24-1.el8sat
0:3.5.1.24-1.el8sat
foreman-libvirt
Red Hat:satellite:6.13::el8
From an advisory covering 5 CVEs
before 0:3.5.1.24-1.el8sat
0:3.5.1.24-1.el8sat
foreman-openstack
Red Hat:satellite:6.13::el8
From an advisory covering 5 CVEs
before 0:3.5.1.24-1.el8sat
0:3.5.1.24-1.el8sat
foreman-ovirt
Red Hat:satellite:6.13::el8
From an advisory covering 5 CVEs
before 0:3.5.1.24-1.el8sat
0:3.5.1.24-1.el8sat
foreman-postgresql
Red Hat:satellite:6.13::el8
From an advisory covering 5 CVEs
before 0:3.5.1.24-1.el8sat
0:3.5.1.24-1.el8sat
foreman-service
Red Hat:satellite:6.13::el8
From an advisory covering 5 CVEs
before 0:3.5.1.24-1.el8sat
0:3.5.1.24-1.el8sat
foreman-telemetry
Red Hat:satellite:6.13::el8
From an advisory covering 5 CVEs
before 0:3.5.1.24-1.el8sat
0:3.5.1.24-1.el8sat
foreman-vmware
Red Hat:satellite:6.13::el8
From an advisory covering 5 CVEs
before 0:3.5.1.24-1.el8sat
0:3.5.1.24-1.el8sat
mosquitto
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
1.4.3-11.4.4-11.4.7-11.4.8-11.4.8-1build1
Show 9 moreShow less
1.4.8-1ubuntu0.16.04.11.4.8-1ubuntu0.16.04.21.4.8-1ubuntu0.16.04.31.4.8-1ubuntu0.16.04.41.4.8-1ubuntu0.16.04.51.4.8-1ubuntu0.16.04.61.4.8-1ubuntu0.16.04.71.4.8-1ubuntu0.16.04.7+esm11.4.8-1ubuntu0.16.04.7+esm2
None known
mosquitto
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
1.4.12-11.4.14-11.4.14-21.4.14-2build11.4.15-1
Show 6 moreShow less
1.4.15-21.4.15-2ubuntu0.18.04.11.4.15-2ubuntu0.18.04.21.4.15-2ubuntu0.18.04.31.4.15-2ubuntu0.18.04.3+esm11.4.15-2ubuntu0.18.04.3+esm2
None known
mosquitto
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
1.6.6-11.6.7-11.6.8-11.6.8-21.6.9-1~build11.6.9-11.6.9-1ubuntu0.1~esm11.6.9-1ubuntu0.1~esm2
None known
mosquitto
Ubuntu:22.04:LTS
before 2.0.11-1ubuntu1.1, plus listed versions
2.0.11-12.0.11-1build12.0.11-1ubuntu1
2.0.11-1ubuntu1.1
mosquitto
Ubuntu:Pro:20.04:LTS
From an advisory covering 6 CVEs
before 1.6.9-1ubuntu0.1~esm1, plus listed versions
1.6.6-11.6.7-11.6.8-11.6.8-21.6.9-1~build11.6.9-1
1.6.9-1ubuntu0.1~esm1
mosquitto
Ubuntu:22.04:LTS
From an advisory covering 6 CVEs
before 2.0.11-1ubuntu1.1, plus listed versions
2.0.11-12.0.11-1build12.0.11-1ubuntu1
2.0.11-1ubuntu1.1

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-28366 is a high vulnerability (CVSS 7.5) in Eclipse Mosquitto, published August 31, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.31%, the 70th percentile. Fixed in mosquitto 2.0.16-r0.

References

Show 111 moreShow less
MoveEnter Open