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…
Noroxi assessment
Priority: Monitor (action score 30/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.3% (FIRST EPSS); higher than 71.1% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: mosquitto (Alpine:v3.18) 2.0.16-r0; mosquitto (Debian:11) 2.0.11-1+deb11u1; mosquitto (Debian:12) 2.0.11-1.2+deb12u1.
Low priority for now. Upgrade to mosquitto (Alpine:v3.18) 2.0.16-r0; mosquitto (Debian:11) 2.0.11-1+deb11u1; mosquitto (Debian:12) 2.0.11-1.2+deb12u1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Sep 1, 2023
- Updated
- Jun 17, 2026
- EPSS
- 1.3% · 71th percentile
- CWE
- CWE-401
Report tools
Action score
30
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.3%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| eclipse | mosquitto | cpe:2.3:a:eclipse:mosquitto |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- eclipse mosquitto1.3.2 and later · before 2.0.16
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.18 | mosquitto | from 1.3.2 · before 2.0.16-r0 | 2.0.16-r0 |
| Debian:11 | mosquitto | before 2.0.11-1+deb11u1 | 2.0.11-1+deb11u1 |
| Debian:12 | mosquitto | before 2.0.11-1.2+deb12u1 | 2.0.11-1.2+deb12u1 |
| Debian:13 | mosquitto | before 2.0.17-1 | 2.0.17-1 |
| Red Hat:satellite_capsule:6.13::el8 | foreman | before 0:3.5.1.24-1.el8sat | 0:3.5.1.24-1.el8sat |
| Red Hat:satellite_capsule:6.13::el8 | foreman-debug | before 0:3.5.1.24-1.el8sat | 0:3.5.1.24-1.el8sat |
| Red Hat:satellite_capsule:6.14::el8 | mosquitto | before 0:2.0.17-1.el8sat | 0:2.0.17-1.el8sat |
| Red Hat:satellite_capsule:6.14::el8 | mosquitto-debuginfo | before 0:2.0.17-1.el8sat | 0:2.0.17-1.el8sat |
| Red Hat:satellite_capsule:6.14::el8 | mosquitto-debugsource | before 0:2.0.17-1.el8sat | 0:2.0.17-1.el8sat |
| Red Hat:satellite_capsule:6.14::el8 | puppet-agent | before 0:7.27.0-1.el8sat | 0:7.27.0-1.el8sat |
| Red Hat:satellite_capsule:6.14::el8 | puppetserver | before 0:7.14.0-1.el8sat | 0:7.14.0-1.el8sat |
| Red Hat:satellite_utils:6.13::el8 | foreman-cli | before 0:3.5.1.24-1.el8sat | 0:3.5.1.24-1.el8sat |
| Red Hat:satellite:6.13::el8 | foreman-dynflow-sidekiq | before 0:3.5.1.24-1.el8sat | 0:3.5.1.24-1.el8sat |
| Red Hat:satellite:6.13::el8 | foreman-ec2 | before 0:3.5.1.24-1.el8sat | 0:3.5.1.24-1.el8sat |
| Red Hat:satellite:6.13::el8 | foreman-journald | before 0:3.5.1.24-1.el8sat | 0:3.5.1.24-1.el8sat |
| Red Hat:satellite:6.13::el8 | foreman-libvirt | before 0:3.5.1.24-1.el8sat | 0:3.5.1.24-1.el8sat |
| Red Hat:satellite:6.13::el8 | foreman-openstack | before 0:3.5.1.24-1.el8sat | 0:3.5.1.24-1.el8sat |
| Red Hat:satellite:6.13::el8 | foreman-ovirt | before 0:3.5.1.24-1.el8sat | 0:3.5.1.24-1.el8sat |
| Red Hat:satellite:6.13::el8 | foreman-postgresql | before 0:3.5.1.24-1.el8sat | 0:3.5.1.24-1.el8sat |
| Red Hat:satellite:6.13::el8 | foreman-service | before 0:3.5.1.24-1.el8sat | 0:3.5.1.24-1.el8sat |
| Red Hat:satellite:6.13::el8 | foreman-telemetry | before 0:3.5.1.24-1.el8sat | 0:3.5.1.24-1.el8sat |
| Red Hat:satellite:6.13::el8 | foreman-vmware | before 0:3.5.1.24-1.el8sat | 0:3.5.1.24-1.el8sat |
| Red Hat:satellite:6.14::el8 | candlepin | before 0:4.3.11-1.el8sat | 0:4.3.11-1.el8sat |
| Red Hat:satellite:6.14::el8 | candlepin-selinux | before 0:4.3.11-1.el8sat | 0:4.3.11-1.el8sat |
+5
Same product
eclipse: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-10525Eclipse Mosquito: Heap Buffer Overflow in my_subscribe_callback46Plan
- CVE-2018-12543In Eclipse Mosquitto versions 1.5 to 1.5.2 inclusive, if a message is published to Mosquitto that has a topic starting with $, but that is…41Plan
- CVE-2018-12551When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use a password file for authentication, any malformed data in the…32Monitor
Published before and after this one in the same product
- ← EarlierCVE-2021-34434Aug 30, 2021 · In Eclipse Mosquitto versions 2.0 to 2.0.11, when using the dynamic security plugin, if the ability for a client to make subscriptions on a…21Monitor
- ← EarlierCVE-2021-41039Dec 1, 2021 · In versions 1.6 to 2.0.11 of Eclipse Mosquitto, an MQTT v5 client connecting with a large number of user-property properties could cause…30Monitor
- Later →CVE-2023-0809Oct 2, 2023 · In Mosquitto before 2.0.16, excessive memory is allocated based on malicious initial packets that are not CONNECT packets.21Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:mosquitto | 2.0.16-r0 · Alpine:v3.18 | Package registry (OSV) |
| debian:mosquitto | 2.0.11-1.2+deb12u1 · Debian:12 | Package registry (OSV) |
| red hat:candlepin | 0:4.3.11-1.el8sat · Red Hat:satellite:6.14::el8 | Package registry (OSV) |
| red hat:candlepin-selinux | 0:4.3.11-1.el8sat · Red Hat:satellite:6.14::el8 | Package registry (OSV) |
| red hat:mosquitto | 0:2.0.17-1.el8sat · Red Hat:satellite_capsule:6.14::el8 | Package registry (OSV) |
| red hat:mosquitto-debuginfo | 0:2.0.17-1.el8sat · Red Hat:satellite_capsule:6.14::el8 | Package registry (OSV) |
| red hat:mosquitto-debugsource | 0:2.0.17-1.el8sat · Red Hat:satellite_capsule:6.14::el8 | Package registry (OSV) |
| red hat:puppet-agent | 0:7.27.0-1.el8sat · Red Hat:satellite_capsule:6.14::el8 | Package registry (OSV) |
| red hat:puppetserver | 0:7.14.0-1.el8sat · Red Hat:satellite_capsule:6.14::el8 | Package registry (OSV) |
| red hat:rubygem-grpc | 0:1.58.0-1.el8sat · Red Hat:satellite:6.14::el8 | Package registry (OSV) |
| red hat:rubygem-puma | 0:6.3.1-1.el8sat · Red Hat:satellite:6.14::el8 | Package registry (OSV) |
| red hat:rubygem-puma-debuginfo | 0:6.3.1-1.el8sat · Red Hat:satellite:6.14::el8 | Package registry (OSV) |
| red hat:rubygem-puma-debugsource | 0:6.3.1-1.el8sat · Red Hat:satellite:6.14::el8 | Package registry (OSV) |
| red hat:rubygem-sidekiq | 0:6.5.12-1.el8sat · Red Hat:satellite:6.14::el8 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-401 · Missing Release of Memory after Effective LifetimeCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- github.com/eclipse/mosquitto/compare/v2.0.15...v2.0.16
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KJ2FMBGVVQEQWTTQB7YLKTAHMX2UM66X/
- mosquitto.org/blog/2023/08/version-2-0-16-released/
- security.gentoo.org/glsa/202401-09
- www.compass-security.com/fileadmin/Research/Advisories/2023_02_CSNC-2023-001_Eclipse_Mosquitto_Memory_Leak.txt
- www.debian.org/security/2023/dsa-5511
Vendor advisories and official records. Exploit/PoC links are deliberately left out.