cve.bz

CVE-2023-28366 eclipse mosquitto

7.5 highEPSS 1.3%Fix available

High (7.5) in eclipse mosquitto. EPSS 1.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 71st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-06-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-401 Missing Release of Memory after Effective Lifetime
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-28366 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-28366?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-28366?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-28366 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
eclipse:mosquittofrom 1.3.2 before 2.0.16

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11mosquitto2.0.11-1+deb11u1DSA-5511-1
Debian12mosquitto2.0.11-1.2+deb12u1DEBIAN-CVE-2023-28366 DSA-5511-1
Debian13, 14mosquitto2.0.17-1DEBIAN-CVE-2023-28366
Ubuntu22.04:LTSmosquitto2.0.11-1ubuntu1.1UBUNTU-CVE-2023-28366 USN-6492-1
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTSmosquittono fix listedUBUNTU-CVE-2023-28366 USN-6492-1
Red Hatsatellite:6.13::el8foreman, foreman-cli, foreman-ec2 and 10 more0:3.5.1.24-1.el8satRHSA-2024:1061
Red Hatsatellite:6.13::el8, satellite_capsule:6.13::el8mosquitto, mosquitto-debuginfo, mosquitto-debugsource0:2.0.17-1.el8satRHSA-2024:1061
Red Hatsatellite:6.14::el8candlepin, candlepin-selinux0:4.3.11-1.el8satRHSA-2024:0797
Red Hatsatellite:6.14::el8rubygem-grpc0:1.58.0-1.el8satRHSA-2024:0797
Red Hatsatellite:6.14::el8rubygem-puma, rubygem-puma-debuginfo, rubygem-puma-debugsource0:6.3.1-1.el8satRHSA-2024:0797
Red Hatsatellite:6.14::el8rubygem-sidekiq0:6.5.12-1.el8satRHSA-2024:0797
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8mosquitto, mosquitto-debuginfo, mosquitto-debugsource0:2.0.17-1.el8satRHSA-2024:0797
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8puppet-agent0:7.27.0-1.el8satRHSA-2024:0797
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8puppetserver0:7.14.0-1.el8satRHSA-2024:0797
Red Hatsatellite_capsule:6.13::el8foreman, foreman-debug0:3.5.1.24-1.el8satRHSA-2024:1061
Red Hatsatellite_utils:6.13::el8foreman, foreman-cli0:3.5.1.24-1.el8satRHSA-2024:1061
Alpinev3.18, v3.19, v3.20 and 4 moremosquitto2.0.16-r0ALPINE-CVE-2023-28366

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Satellite 6.13 for RHEL 8mosquitto-0:2.0.17-1.el8satFixed 2024-02-29RHSA-2024:1061
Red Hat Satellite 6.14 for RHEL 8mosquitto-0:2.0.17-1.el8satFixed 2024-02-13RHSA-2024:0797
Red Hat build of Apache Camel for Spring Boot 3mosquittoNot affected
Red Hat Integration Camel K 1mosquittoNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-28366.

References

Check your stackJSON