Skip to content
Fencer Vulns
high 7.5

CVE-2023-28366 json

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…

published 2023-09-01 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-32063

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 70%
public exploits
0
none known

Summary

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.

Patch / fix

  • eclipse mosquitto 2.0.16
  • mosquitto Debian 12 2.0.11-1.2+deb12u1
  • mosquitto Debian 14, Debian 13 2.0.17-1

debian advisories DEBIAN-CVE-2023-28366

  • mosquitto Ubuntu 22.04 LTS 2.0.11-1ubuntu1.1

ubuntu advisories UBUNTU-CVE-2023-28366

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • candlepin satellite 6.14 4.3.11-1.el8sat
  • mosquitto satellite capsule 6.14, satellite capsule 6.13, satellite 6.14 +1 more 2.0.17-1.el8sat
  • puppet-agent satellite capsule 6.14, satellite 6.14 7.27.0-1.el8sat
  • puppetserver satellite capsule 6.14, satellite 6.14 7.14.0-1.el8sat
  • rubygem-grpc satellite 6.14 1.58.0-1.el8sat
  • rubygem-puma satellite 6.14 6.3.1-1.el8sat
  • rubygem-sidekiq satellite 6.14 6.5.12-1.el8sat
  • candlepin-selinux satellite 6.14 4.3.11-1.el8sat

red hat advisories RHSA-2024:0797RHSA-2024:1061

  • mosquitto Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 2.0.16-r0

alpine advisories ALPINE-CVE-2023-28366

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-28366 updated cvss 7.5

mosquitto: memory leak leads to unresponsive broker

  • Red Hat Satellite 6.13 for RHEL 8 mosquitto 2.0.17-1.el8sat
    fixed: vendor fix RHSA-2024:1061
  • Red Hat Satellite 6.14 for RHEL 8 mosquitto 2.0.17-1.el8sat
    fixed: vendor fix RHSA-2024:0797
  • Red Hat build of Apache Camel for Spring Boot 3 mosquitto mosquitto Red Hat Integration Camel K 1 mosquitto mosquitto Red Hat Satellite 6.13 for RHEL 8 foreman 3.5.1.24-1.el8sat, satellite 6.13.7-1.el8sat, createrepo_c 1.0.2-2.el8pc, foreman-cli 3.5.1.24-1.el8sat, foreman-ec2 3.5.1.24-1.el8sat, satellite-cli 6.13.7-1.el8sat, +25 more Red Hat Satellite 6.14 for RHEL 8 candlepin 4.3.11-1.el8sat, foreman 3.7.0.11-2.el8sat, satellite 6.14.2-1.el8sat, rubygem-kafo 7.2.0-1.el8sat, rubygem-puma 6.3.1-1.el8sat, puppet-agent 7.27.0-1.el8sat, +27 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
16 mo ago

Exploit prediction

1.31% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

Weakness
  • CWE-401 Missing Release of Memory after Effective Lifetime

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.