CVE-2023-28366
published high CVSS 3.1 · 7.5mosquitto: memory leak leads to unresponsive broker
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | mosquitto | Fixed | 2.0.16-r0 | Package fix record |
| Debian | bookworm | mosquitto | Advisory build | 2.0.11-1.2+deb12u1 | DSA-5511-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmosquitto1aarch64 | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| Ubuntu | jammy | libmosquitto1 | Advisory build | 2.0.11-1ubuntu1.1 | USN-6492-1 |
| Alpine Linux | v3.18 | mosquitto | Fixed | 2.0.16-r0 | Package fix record |
| Alpine Linux | v3.19 | mosquitto | Fixed | 2.0.16-r0 | Package fix record |
| Alpine Linux | v3.20 | mosquitto | Fixed | 2.0.16-r0 | Package fix record |
Show 27 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.21 | mosquitto | Fixed | 2.0.16-r0 | Package fix record |
| Alpine Linux | v3.22 | mosquitto | Fixed | 2.0.16-r0 | Package fix record |
| Alpine Linux | v3.23 | mosquitto | Fixed | 2.0.16-r0 | Package fix record |
| Alpine Linux | v3.24 | mosquitto | Fixed | 2.0.16-r0 | Package fix record |
| Debian | bullseye | mosquitto | Advisory build | 2.0.11-1+deb11u1 | DSA-5511-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmosquitto1ppc64le | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmosquitto1s390x | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmosquitto1x86_64 | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmosquittopp1aarch64 | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmosquittopp1ppc64le | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmosquittopp1s390x | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmosquittopp1x86_64 | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mosquittoaarch64 | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mosquittoppc64le | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mosquittos390x | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mosquittox86_64 | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mosquitto-clientsaarch64 | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mosquitto-clientsppc64le | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mosquitto-clientss390x | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mosquitto-clientsx86_64 | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mosquitto-develaarch64 | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mosquitto-develppc64le | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mosquitto-devels390x | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mosquitto-develx86_64 | Advisory build | 2.0.18-1.1 | OPENSUSE-SU-2024:13546-1 |
| Ubuntu | jammy | libmosquittopp1 | Advisory build | 2.0.11-1ubuntu1.1 | USN-6492-1 |
| Ubuntu | jammy | mosquitto | Advisory build | 2.0.11-1ubuntu1.1 | USN-6492-1 |
| Ubuntu | jammy | mosquitto-clients | Advisory build | 2.0.11-1ubuntu1.1 | USN-6492-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-401 CWE-401 Missing Release of Memory after Effective Lifetime
References
7- https://github.com/eclipse/mosquitto/commit/6113eac95a9df634fbc858be542c4a0456bfe7b9
- https://github.com/eclipse/mosquitto/compare/v2.0.15...v2.0.16
- FEDORA-2023-9adc4be8b0 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KJ2FMBGVVQEQWTTQB7YLKTAHMX2UM66X/
- https://mosquitto.org/blog/2023/08/version-2-0-16-released/
- GLSA-202401-09 https://security.gentoo.org/glsa/202401-09
- https://www.compass-security.com/fileadmin/Research/Advisories/2023_02_CSNC-2023-001_Eclipse_Mosquitto_Memory_Leak.txt
- DSA-5511 https://www.debian.org/security/2023/dsa-5511
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e8155a9a79c486cb660b80000b0cf06d682bb0b1b8257ab4defe0fb6ed2306c7
- Ingested
- 23 Sep 2026, 08:07:35 UTC
- Source record
- Official CVE record