Home / Eclipse / Mosquitto / CVE-2023-28366
CVE-2023-28366: is it exploited, and which versions of Eclipse Mosquitto are affected and fixed?
CVE-2023-28366 is a memory leak vulnerability in Eclipse Mosquitto. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: mosquitto from 1.3.2 before 2.0.16 (NVD). Fixed in 2.0.16 (NVD). Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:36 UTC.
What is 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 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.
From the CVE record by mitre, last updated June 26, 2025, 13:59 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| eclipse | mosquitto | from 1.3.2 before 2.0.16 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:47 UTC.
How severe is CVE-2023-28366?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-28366 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, June 26, 2025)
- EPSS
- 1.31% probability of exploitation activity in the next 30 days, percentile 71.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-401 Missing Release of Memory after Effective Lifetime
Where are the vendor advisories and references?
- https://github.com/eclipse/mosquitto/compare/v2.0.15...v2.0.16
- https://www.compass-security.com/fileadmin/Research/Advisories/2023_02_CSNC-2023-001_Eclipse_Mosquitto_Memory_Leak.txt
- https://mosquitto.org/blog/2023/08/version-2-0-16-released/
- https://github.com/eclipse/mosquitto/commit/6113eac95a9df634fbc858be542c4a0456bfe7b9
- FEDORA-2023-9adc4be8b0 vendor-advisory
- DSA-5511 vendor-advisory
- GLSA-202401-09 vendor-advisory
When was it published, and where is the official record?
- Reserved
- March 15, 2023
- Published
- September 1, 2023, 00:00 UTC
- CVE record updated
- June 26, 2025, 13:59 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 05:47 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:36 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mosquitto?
- Oct 18, 2023CVE-2023-5632 Eclipse Mosquitto: excessive iteration
- Oct 2, 2023CVE-2023-3592 Eclipse Mosquitto: memory leak
- Oct 2, 2023CVE-2023-0809 Eclipse Mosquitto: memory Allocation with Excessive Size Value
- Dec 13, 2018CVE-2018-20145 Eclipse Mosquitto: incorrect permissions on a critical resource
- Jun 25, 2017CVE-2017-9868 Eclipse Mosquitto: information disclosure
Questions about CVE-2023-28366
Is CVE-2023-28366 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 1.31% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Eclipse Mosquitto are affected by CVE-2023-28366?
mosquitto from 1.3.2 before 2.0.16, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2023-28366?
2.0.16, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-28366?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2023-28366?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.