CVE-2023-3592 is a memory leak in the Eclipse Mosquitto MQTT broker before 2.0.16: an MQTT v5 CONNECT packet with a will message that carries invalid property types leaks memory, so a client that repeats it can wear the broker down. NVD scores it 7.5 and the Eclipse Foundation 5.8; Mosquitto 2.0.16 fixes it.
Vulnerability summary
CVSS base score
7.5
High severity
EPSS score (FIRST)
0.8%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2023-3592 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Eclipse Mosquitto broker | cpe:2.3:a:eclipse:mosquitto:*:*:*:*:*:*:*:* | All versions before 2.0.16 (NVD); 1.6.0 to 2.0.15 (Mosquitto security page); fixed in 2.0.16 |
| Debian mosquitto package | pkg:deb/debian/mosquitto | Fixed in 2.0.11-1+deb11u1 (bullseye) and 2.0.11-1.2+deb12u1 (bookworm) via DSA-5511-1; unstable fixed in 2.0.17-1; buster not affected (Debian security tracker, as of 2026-11-20) |
| OpenWrt packages feed: mosquitto | — | openwrt-21.02 branch carries 2.0.15 (affected); bumped to 2.0.17 on 2023-08-23; openwrt-22.03 and openwrt-23.05 carry 2.0.18, openwrt-24.10 carries 2.0.23 (as of 2026-11-20) |
| Buildroot package/mosquitto | — | 2.0.15 up to 2023.02.4 and 2023.05.2 (affected); 2.0.17 from 2023.02.5, 2023.05.3 and 2023.08 |
| Yocto Project meta-openembedded mosquitto recipe | — | dunfell builds 1.6.10 with no patch (affected); kirkstone and scarthgap build 2.0.22 (as of 2026-11-20) |
What does this mean for affected devices?
Eclipse Mosquitto's 2.0.16 release notes of 2023-08-16 list the fix: "Fix memory leak when clients send v5 CONNECT packets with a will message that contains invalid property types." The project's security page gives the range as versions 1.6.0 to 2.0.15, fixed in 2.0.16. The Eclipse Foundation, the CNA, published the record on 2023-10-02 with "Mosquitto before 2.0.16" as the affected range (NVD, CVE record).
What does the fix change?
A will message is the message the broker publishes for a client that disconnects unexpectedly; MQTT v5 lets the client attach properties to it in the CONNECT packet. The fix commit 00b24e0 by Roger Light, part of the v2.0.16 tag, adds one line to property__process_will() in the broker's property handling code: when it meets a property type it does not accept, it now attaches the parsed property list to the will message (msg->properties = msg_properties;) before returning MOSQ_ERR_PROTOCOL, so the list is freed with the message instead of being lost. Each rejected CONNECT leaks a little memory, so a client that repeats it can grow the broker's memory until the device runs short.
How severe is CVE-2023-3592?
NVD's Primary score is CVSS v3.1 7.5, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The Eclipse Foundation scores it 5.8, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L, rating availability impact low but scope changed. Both name CWE-401 (missing release of memory after effective lifetime). The CONNECT packet is the first thing a client sends, so the attacker needs only network access to an MQTT v5 listener, not valid credentials. On an IIoT gateway or a Sparkplug B host, the broker carries telemetry and commands for every connected device, so exhausting its memory stops all of them.
Which firmware and devices carry it?
NVD's CPE configuration covers Eclipse Mosquitto up to, but excluding, 2.0.16. No vendor PSIRT, CERT@VDE or CISA ICS advisory naming a device product for this CVE was found as of 2026-11-20, so identify exposure from the firmware's component list or SBOM.
Embedded Linux images usually take the broker from a distribution or build system, so check the package version and its patches:
- Debian fixed it in 2.0.11-1+deb11u1 (bullseye) and 2.0.11-1.2+deb12u1 (bookworm) with DSA-5511-1 of 2023-10-01, which also covers CVE-2023-28366 and the sibling CVE from the same release; unstable got 2.0.17-1. Buster is marked not affected because "the vulnerable code was introduced later" (Debian security tracker).
- OpenWrt: the packages feed bumped mosquitto to 2.0.17 on 2023-08-23, and as of 2026-11-20 the openwrt-22.03 and openwrt-23.05 branches carry 2.0.18 and openwrt-24.10 carries 2.0.23. The openwrt-21.02 branch still carries 2.0.15 with no patches, so routers and gateways built from it are affected.
- Buildroot made a security bump to 2.0.16 on 2023-08-20. Release 2023.08 ships 2.0.17, the 2023.02.x branch moved to 2.0.17 in 2023.02.5 and the 2023.05.x branch in 2023.05.3; 2023.02.4, 2023.05.2 and earlier ship 2.0.15.
- Yocto Project: the meta-openembedded dunfell branch builds Mosquitto 1.6.10 with no patch for this CVE as of 2026-11-20, while kirkstone and scarthgap build 2.0.22.
- Gentoo GLSA 202401-09 asks users to move to 2.0.17 or later.
How do you fix CVE-2023-3592?
Update the broker to Mosquitto 2.0.16 or later (2.0.17 fixes regressions in 2.0.16), or to a patched distribution package. Later releases also fix CVE-2024-8376 and CVE-2024-3935, so a current 2.0.x release covers those too. The same 2.0.16 release fixed CVE-2023-28366 and CVE-2023-0809. Until a gateway can be updated, keep the listener off untrusted networks and limit which hosts can connect. Our Sparkplug B security guide lists this CVE among the broker flaws that matter when Mosquitto is the Sparkplug hub, and the MQTT protocol security guide covers listener hardening.
Is CVE-2023-3592 exploited?
It is not in the CISA KEV catalog as of 2026-11-20 (catalog version 2026.11.18, 1,786 entries). FIRST EPSS gives it 0.00787, the 56.9th percentile, in the 2026-11-19 dataset (CISA KEV, FIRST EPSS).
Evidence
- NVD (read 2026-11-20): status Modified; published 2023-10-02; NVD Primary CVSS v3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H; Eclipse Foundation ([email protected]) Secondary 5.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L; CWE-401 (both); CPE eclipse:mosquitto versions before 2.0.16; references the 2.0.16 release post and GLSA 202401-09. — NVD
- Eclipse Mosquitto 2.0.16 release post (2023-08-16) and security page (read 2026-11-20): 'Fix memory leak when clients send v5 CONNECT packets with a will message that contains invalid property types'; security page: affecting 1.6.0 to 2.0.15, fixed in 2.0.16. — Eclipse Mosquitto
- Commit 00b24e0 (Roger A. Light, authored 2023-07-07, contained in tag v2.0.16), read 2026-11-20: 'Fix memory leak when clients send v5 CONNECT packets'; adds msg->properties = msg_properties; before return MOSQ_ERR_PROTOCOL in the default branch of property__process_will(), the broker's will-property handler. — Mosquitto repository
- Debian security tracker and DSA-5511-1 (2023-10-01), read 2026-11-20: bullseye fixed in 2.0.11-1+deb11u1, bookworm in 2.0.11-1.2+deb12u1, unstable in 2.0.17-1; buster not-affected ('The vulnerable code was introduced later'). — Debian
- OpenWrt packages (read 2026-11-20): commit dfbf87aa17 'net/mosquitto: bump to 2.0.17' committed 2023-08-23 lists CVE-2023-28366, CVE-2023-0809 and CVE-2023-3592; net/mosquitto PKG_VERSION 2.0.15 on openwrt-21.02, 2.0.18 on openwrt-22.03 and openwrt-23.05, 2.0.23 on openwrt-24.10. — OpenWrt packages
- Buildroot (read 2026-11-20): commit 9f1ca943d5 'package/mosquitto: security bump to version 2.0.16' (2023-08-20) lists both CVEs; MOSQUITTO_VERSION 2.0.15 in tags 2023.02.4 and 2023.05.2, 2.0.17 in 2023.02.5, 2023.05.3 and 2023.08. — Buildroot
- meta-openembedded (read 2026-11-20): dunfell mosquitto_1.6.10.bb with patches 1571.patch and install-protocol.patch only; kirkstone and scarthgap mosquitto_2.0.22.bb. Gentoo GLSA 202401-09: affected < 2.0.17, upgrade to >= 2.0.17. — Yocto Project / Gentoo
- CVE record (read 2026-11-20): state PUBLISHED, CNA Eclipse Foundation (eclipse), published 2023-10-02; affected Mosquitto versions less than 2.0.16; CNA CVSS v3.1 5.8 AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L; CWE-401. — CVE.org
- Not in the CISA KEV catalog, version 2026.11.18 (1,786 entries), read 2026-11-20. — CISA KEV
- EPSS 0.00787, percentile 0.56929, dataset 2026-11-19, read 2026-11-20. — FIRST EPSS

Related advisories
Sources
- NVD
- Eclipse Mosquitto: Version 2.0.16 released (2023-08-16)
- Eclipse Mosquitto security page: past vulnerabilities
- Mosquitto fix commit 00b24e0: memory leak with v5 CONNECT will properties
- Debian security tracker: CVE-2023-3592
- Debian Security Advisory DSA-5511-1: mosquitto
- OpenWrt packages commit dfbf87aa17: net/mosquitto: bump to 2.0.17
- OpenWrt packages: net/mosquitto Makefile (openwrt-21.02)
- Buildroot commit 9f1ca943d5: package/mosquitto: security bump to version 2.0.16
- meta-openembedded (dunfell): mosquitto recipe
- Gentoo GLSA 202401-09: Eclipse Mosquitto
- CVE.org record CVE-2023-3592 (CNA: Eclipse Foundation)
- CISA KEV
- FIRST EPSS
Frequently asked questions
Which Mosquitto version fixes CVE-2023-3592?
Mosquitto 2.0.16, released on 2023-08-16; 2.0.17 followed to fix regressions in 2.0.16. Debian backported the fix to bullseye (2.0.11-1+deb11u1) and bookworm (2.0.11-1.2+deb12u1) through DSA-5511-1.
Does an attacker need credentials to trigger CVE-2023-3592?
No. The leak happens while the broker processes the CONNECT packet, before the client is connected, and both NVD's and the Eclipse Foundation's vectors set privileges required to none. The attacker needs network access to a listener that accepts MQTT v5.
Why do NVD and the Eclipse Foundation score it differently?
NVD rates the availability impact high (7.5), on the basis that repeated packets can exhaust the broker's memory. The Eclipse Foundation rates availability impact low but scope changed (5.8). Both use CWE-401.
Is an OpenWrt, Buildroot or Yocto gateway image affected?
It depends on the branch. As of 2026-11-20 OpenWrt's openwrt-21.02 feed still carries 2.0.15, while 22.03, 23.05 and 24.10 carry fixed versions. Buildroot is fixed from 2023.02.5, 2023.05.3 and 2023.08. The Yocto meta-openembedded dunfell recipe builds 1.6.10 with no patch.
Questions about this page?