{"id":"CVE-2023-28366","published":"2023-09-01T00:00:00Z","modified":"2025-06-26T13:59:02Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0131,"percentile":0.71366,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://github.com/eclipse/mosquitto/compare/v2.0.15...v2.0.16","tags":[]},{"url":"https://www.compass-security.com/fileadmin/Research/Advisories/2023_02_CSNC-2023-001_Eclipse_Mosquitto_Memory_Leak.txt","tags":[]},{"url":"https://mosquitto.org/blog/2023/08/version-2-0-16-released/","tags":[]},{"url":"https://github.com/eclipse/mosquitto/commit/6113eac95a9df634fbc858be542c4a0456bfe7b9","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KJ2FMBGVVQEQWTTQB7YLKTAHMX2UM66X/","tags":["vendor-advisory"]},{"url":"https://www.debian.org/security/2023/dsa-5511","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202401-09","tags":["vendor-advisory"]}],"priority":{"score":19.5,"factors":[{"name":"EPSS percentile","points":14.27},{"name":"CVSS severity","points":5.25}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-06-26T13:57:37.428410Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-32063","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-eclipse-mosquitto-cve-2023-28366","children":[{"from":"CVE-2023-28366","to":"CVE-2023-5632","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/packet_mosq.c"],"commits":["https://github.com/eclipse/mosquitto/commit/6113eac95a9df634fbc858be542c4a0456bfe7b9","https://github.com/eclipse/mosquitto/commit/18bad1ff32435e523d7507e9b2ce0010124a8f2d"],"basis":"shared function","functions":["mosquitto"]}]}]}}