mosquitto: memory leak leads to unresponsive broker
Published Sep 1, 2023
7.5
HIGHCVSS 3.1
EPSS 1.32%
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.
Affected products
No data.
No data.
Red Hat Satellite 6.13 for RHEL 8
mosquitto-0:2.0.17-1.el8sat
Fixed · RHSA-2024:1061
Red Hat Satellite 6.13 for RHEL 8
mosquitto-0:2.0.17-1.el8sat
Fixed · RHSA-2024:1061
Red Hat Satellite 6.14 for RHEL 8
mosquitto-0:2.0.17-1.el8sat
Fixed · RHSA-2024:0797
Red Hat Satellite 6.14 for RHEL 8
mosquitto-0:2.0.17-1.el8sat
Fixed · RHSA-2024:0797
Red Hat Integration Camel K 1
mosquitto
Not affected
Red Hat build of Apache Camel for Spring Boot 3
mosquitto
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Satellite 6.13 for RHEL 8 | mosquitto-0:2.0.17-1.el8sat | Fixed | RHSA-2024:1061 |
| Red Hat Satellite 6.13 for RHEL 8 | mosquitto-0:2.0.17-1.el8sat | Fixed | RHSA-2024:1061 |
| Red Hat Satellite 6.14 for RHEL 8 | mosquitto-0:2.0.17-1.el8sat | Fixed | RHSA-2024:0797 |
| Red Hat Satellite 6.14 for RHEL 8 | mosquitto-0:2.0.17-1.el8sat | Fixed | RHSA-2024:0797 |
| Red Hat Integration Camel K 1 | mosquitto | Not affected | n/a |
| Red Hat build of Apache Camel for Spring Boot 3 | mosquitto | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
YesTechnical Impact
PartialDecision
n/aAssessed Jun 26, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2023–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (8 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.32% (0.01321) | 69.83th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.11% (0.01107) | 61.46th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.69% (0.00686) | 70.01th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.30% (0.00305) | 70.61th | v3 (v2023.03.01) |
| Jan 10, 2024 | 0.10% (0.00098) | 40.54th | v3 (v2023.03.01) |
| Oct 3, 2023 | 0.08% (0.00081) | 33.62th | v3 (v2023.03.01) |
| Sep 8, 2023 | 0.05% (0.00051) | 17.72th | v3 (v2023.03.01) |
| Sep 2, 2023 | 0.04% (0.00045) | 12.22th | v3 (v2023.03.01) |
References (11)
- https://access.redhat.com/security/cve/CVE-2023-28366 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2236882 Issue Tracking
- https://github.com/eclipse/mosquitto/commit/6113eac95a9df634fbc858be542c4a0456bfe7b9 Patch
- https://github.com/eclipse/mosquitto/compare/v2.0.15...v2.0.16 Release Notes
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KJ2FMBGVVQEQWTTQB7YLKTAHMX2UM66X/ vendor-advisory
- https://mosquitto.org/blog/2023/08/version-2-0-16-released/ Release Notes
- https://nvd.nist.gov/vuln/detail/CVE-2023-28366
- https://security.gentoo.org/glsa/202401-09 vendor-advisory
- https://www.compass-security.com/fileadmin/Research/Advisories/2023_02_CSNC-2023-001_Eclipse_Mosquitto_Memory_Leak.txt Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2023-28366
- https://www.debian.org/security/2023/dsa-5511 vendor-advisory
Change history (0)
No recorded changes yet.