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.
References (7)
Core 7
Core References
Third Party Advisory
https://www.compass-security.com/fileadmin/Research/Advisories/2023_02_CSNC-2023-001_Eclipse_Mosquitto_Memory_Leak.txt
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KJ2FMBGVVQEQWTTQB7YLKTAHMX2UM66X/
Third Party Advisory vendor-advisory
https://www.debian.org/security/2023/dsa-5511
Third Party Advisory vendor-advisory
https://security.gentoo.org/glsa/202401-09
Scores
CVSS v3
7.5
EPSS
0.0012
EPSS Percentile
30.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-401
Status
published
Products (1)
eclipse/mosquitto
1.3.2 - 2.0.16
Published
Sep 01, 2023
Tracked Since
Feb 18, 2026