# CVE-2023-28366: mosquitto: 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...

CVE-2023-28366 is fixed in 4 products on 1 platform, first by DEBIAN-CVE-2023-28366, released September 1, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-28366
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0131
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 1, 2023

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libmosquitto1 Ubuntu 22.04.1 LTS (jammy) | 2.0.11-1ubuntu1.1 | [libmosquitto1 2.0.11-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libmosquitto1-2.0.11-1ubuntu1.1.md) | Oct 2, 2023 |
| Linux | libmosquittopp1 Ubuntu 22.04.1 LTS (jammy) | 2.0.11-1ubuntu1.1 | [libmosquittopp1 2.0.11-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libmosquittopp1-2.0.11-1ubuntu1.1.md) | Oct 2, 2023 |
| Linux | mosquitto Debian 12.15 (bookworm) | 2.0.11-1.2+deb12u1 | [DEBIAN-CVE-2023-28366](https://patchblox.com/security/data/fix/linux/debian-cve-2023-28366.md) | Sep 1, 2023 |
| Linux | mosquitto Debian 13.5 (trixie) | 2.0.17-1 | [DEBIAN-CVE-2023-28366](https://patchblox.com/security/data/fix/linux/debian-cve-2023-28366.md) | Sep 1, 2023 |
| Linux | mosquitto Debian 14 | 2.0.17-1 | [DEBIAN-CVE-2023-28366](https://patchblox.com/security/data/fix/linux/debian-cve-2023-28366.md) | Sep 1, 2023 |
| Linux | mosquitto Ubuntu 22.04.1 LTS (jammy) | 2.0.11-1ubuntu1.1 | [mosquitto 2.0.11-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-mosquitto-2.0.11-1ubuntu1.1.md) | Oct 2, 2023 |
| Linux | mosquitto-clients Ubuntu 22.04.1 LTS (jammy) | 2.0.11-1ubuntu1.1 | [mosquitto-clients 2.0.11-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-mosquitto-clients-2.0.11-1ubuntu1.1.md) | Oct 2, 2023 |

---

Data as of 2026-11-07T18:46:35Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
