{"id":"ALPINE-CVE-2023-28366","details":"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.","modified":"2026-03-09T01:20:35.424803Z","published":"2023-09-01T16:15:07.790Z","upstream":["CVE-2023-28366"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2023-28366"}],"affected":[{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}],"versions":["1.2.2-r0","1.2.2-r1","1.2.3-r0","1.3-r0","1.3-r1","1.3.1-r0","1.3.2-r0","1.3.4-r0","1.4-r0","1.4-r1","1.4.1-r0","1.4.1-r1","1.4.10-r0","1.4.10-r1","1.4.10-r2","1.4.10-r3","1.4.11-r0","1.4.11-r1","1.4.12-r0","1.4.13-r0","1.4.14-r0","1.4.14-r1","1.4.14-r2","1.4.14-r3","1.4.14-r4","1.4.14-r5","1.4.15-r0","1.4.15-r1","1.4.15-r2","1.4.15-r3","1.4.15-r4","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.4.4-r0","1.4.8-r0","1.4.8-r1","1.4.8-r2","1.4.9-r0","1.5.1-r0","1.5.2-r0","1.5.3-r0","1.5.3-r1","1.5.4-r0","1.5.5-r0","1.5.5-r1","1.5.6-r0","1.5.7-r0","1.6.1-r0","1.6.10-r0","1.6.10-r1","1.6.11-r0","1.6.11-r1","1.6.12-r0","1.6.12-r1","1.6.12-r2","1.6.2-r0","1.6.2-r1","1.6.3-r0","1.6.4-r0","1.6.4-r1","1.6.7-r0","1.6.8-r0","1.6.8-r1","1.6.9-r0","2.0.10-r0","2.0.11-r0","2.0.12-r0","2.0.12-r1","2.0.12-r2","2.0.13-r0","2.0.14-r0","2.0.14-r1","2.0.14-r2","2.0.15-r0","2.0.15-r1","2.0.15-r2","2.0.15-r3","2.0.5-r0","2.0.7-r0","2.0.8-r0","2.0.9-r0","2.0.9-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-28366.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}],"versions":["1.2.2-r0","1.2.2-r1","1.2.3-r0","1.3-r0","1.3-r1","1.3.1-r0","1.3.2-r0","1.3.4-r0","1.4-r0","1.4-r1","1.4.1-r0","1.4.1-r1","1.4.10-r0","1.4.10-r1","1.4.10-r2","1.4.10-r3","1.4.11-r0","1.4.11-r1","1.4.12-r0","1.4.13-r0","1.4.14-r0","1.4.14-r1","1.4.14-r2","1.4.14-r3","1.4.14-r4","1.4.14-r5","1.4.15-r0","1.4.15-r1","1.4.15-r2","1.4.15-r3","1.4.15-r4","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.4.4-r0","1.4.8-r0","1.4.8-r1","1.4.8-r2","1.4.9-r0","1.5.1-r0","1.5.2-r0","1.5.3-r0","1.5.3-r1","1.5.4-r0","1.5.5-r0","1.5.5-r1","1.5.6-r0","1.5.7-r0","1.6.1-r0","1.6.10-r0","1.6.10-r1","1.6.11-r0","1.6.11-r1","1.6.12-r0","1.6.12-r1","1.6.12-r2","1.6.2-r0","1.6.2-r1","1.6.3-r0","1.6.4-r0","1.6.4-r1","1.6.7-r0","1.6.8-r0","1.6.8-r1","1.6.9-r0","2.0.10-r0","2.0.11-r0","2.0.12-r0","2.0.12-r1","2.0.12-r2","2.0.13-r0","2.0.14-r0","2.0.14-r1","2.0.14-r2","2.0.15-r0","2.0.15-r1","2.0.15-r2","2.0.15-r3","2.0.5-r0","2.0.7-r0","2.0.8-r0","2.0.9-r0","2.0.9-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-28366.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}],"versions":["1.2.2-r0","1.2.2-r1","1.2.3-r0","1.3-r0","1.3-r1","1.3.1-r0","1.3.2-r0","1.3.4-r0","1.4-r0","1.4-r1","1.4.1-r0","1.4.1-r1","1.4.10-r0","1.4.10-r1","1.4.10-r2","1.4.10-r3","1.4.11-r0","1.4.11-r1","1.4.12-r0","1.4.13-r0","1.4.14-r0","1.4.14-r1","1.4.14-r2","1.4.14-r3","1.4.14-r4","1.4.14-r5","1.4.15-r0","1.4.15-r1","1.4.15-r2","1.4.15-r3","1.4.15-r4","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.4.4-r0","1.4.8-r0","1.4.8-r1","1.4.8-r2","1.4.9-r0","1.5.1-r0","1.5.2-r0","1.5.3-r0","1.5.3-r1","1.5.4-r0","1.5.5-r0","1.5.5-r1","1.5.6-r0","1.5.7-r0","1.6.1-r0","1.6.10-r0","1.6.10-r1","1.6.11-r0","1.6.11-r1","1.6.12-r0","1.6.12-r1","1.6.12-r2","1.6.2-r0","1.6.2-r1","1.6.3-r0","1.6.4-r0","1.6.4-r1","1.6.7-r0","1.6.8-r0","1.6.8-r1","1.6.9-r0","2.0.10-r0","2.0.11-r0","2.0.12-r0","2.0.12-r1","2.0.12-r2","2.0.13-r0","2.0.14-r0","2.0.14-r1","2.0.14-r2","2.0.15-r0","2.0.15-r1","2.0.15-r2","2.0.15-r3","2.0.5-r0","2.0.7-r0","2.0.8-r0","2.0.9-r0","2.0.9-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-28366.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}],"versions":["1.2.2-r0","1.2.2-r1","1.2.3-r0","1.3-r0","1.3-r1","1.3.1-r0","1.3.2-r0","1.3.4-r0","1.4-r0","1.4-r1","1.4.1-r0","1.4.1-r1","1.4.10-r0","1.4.10-r1","1.4.10-r2","1.4.10-r3","1.4.11-r0","1.4.11-r1","1.4.12-r0","1.4.13-r0","1.4.14-r0","1.4.14-r1","1.4.14-r2","1.4.14-r3","1.4.14-r4","1.4.14-r5","1.4.15-r0","1.4.15-r1","1.4.15-r2","1.4.15-r3","1.4.15-r4","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.4.4-r0","1.4.8-r0","1.4.8-r1","1.4.8-r2","1.4.9-r0","1.5.1-r0","1.5.2-r0","1.5.3-r0","1.5.3-r1","1.5.4-r0","1.5.5-r0","1.5.5-r1","1.5.6-r0","1.5.7-r0","1.6.1-r0","1.6.10-r0","1.6.10-r1","1.6.11-r0","1.6.11-r1","1.6.12-r0","1.6.12-r1","1.6.12-r2","1.6.2-r0","1.6.2-r1","1.6.3-r0","1.6.4-r0","1.6.4-r1","1.6.7-r0","1.6.8-r0","1.6.8-r1","1.6.9-r0","2.0.10-r0","2.0.11-r0","2.0.12-r0","2.0.12-r1","2.0.12-r2","2.0.13-r0","2.0.14-r0","2.0.14-r1","2.0.14-r2","2.0.15-r0","2.0.15-r1","2.0.15-r2","2.0.15-r3","2.0.5-r0","2.0.7-r0","2.0.8-r0","2.0.9-r0","2.0.9-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-28366.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}],"versions":["1.2.2-r0","1.2.2-r1","1.2.3-r0","1.3-r0","1.3-r1","1.3.1-r0","1.3.2-r0","1.3.4-r0","1.4-r0","1.4-r1","1.4.1-r0","1.4.1-r1","1.4.10-r0","1.4.10-r1","1.4.10-r2","1.4.10-r3","1.4.11-r0","1.4.11-r1","1.4.12-r0","1.4.13-r0","1.4.14-r0","1.4.14-r1","1.4.14-r2","1.4.14-r3","1.4.14-r4","1.4.14-r5","1.4.15-r0","1.4.15-r1","1.4.15-r2","1.4.15-r3","1.4.15-r4","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.4.4-r0","1.4.8-r0","1.4.8-r1","1.4.8-r2","1.4.9-r0","1.5.1-r0","1.5.2-r0","1.5.3-r0","1.5.3-r1","1.5.4-r0","1.5.5-r0","1.5.5-r1","1.5.6-r0","1.5.7-r0","1.6.1-r0","1.6.10-r0","1.6.10-r1","1.6.11-r0","1.6.11-r1","1.6.12-r0","1.6.12-r1","1.6.12-r2","1.6.2-r0","1.6.2-r1","1.6.3-r0","1.6.4-r0","1.6.4-r1","1.6.7-r0","1.6.8-r0","1.6.8-r1","1.6.9-r0","2.0.10-r0","2.0.11-r0","2.0.12-r0","2.0.12-r1","2.0.12-r2","2.0.13-r0","2.0.14-r0","2.0.14-r1","2.0.14-r2","2.0.15-r0","2.0.15-r1","2.0.15-r2","2.0.15-r3","2.0.5-r0","2.0.7-r0","2.0.8-r0","2.0.9-r0","2.0.9-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-28366.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}],"versions":["1.2.2-r0","1.2.2-r1","1.2.3-r0","1.3-r0","1.3-r1","1.3.1-r0","1.3.2-r0","1.3.4-r0","1.4-r0","1.4-r1","1.4.1-r0","1.4.1-r1","1.4.10-r0","1.4.10-r1","1.4.10-r2","1.4.10-r3","1.4.11-r0","1.4.11-r1","1.4.12-r0","1.4.13-r0","1.4.14-r0","1.4.14-r1","1.4.14-r2","1.4.14-r3","1.4.14-r4","1.4.14-r5","1.4.15-r0","1.4.15-r1","1.4.15-r2","1.4.15-r3","1.4.15-r4","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.4.4-r0","1.4.8-r0","1.4.8-r1","1.4.8-r2","1.4.9-r0","1.5.1-r0","1.5.2-r0","1.5.3-r0","1.5.3-r1","1.5.4-r0","1.5.5-r0","1.5.5-r1","1.5.6-r0","1.5.7-r0","1.6.1-r0","1.6.10-r0","1.6.10-r1","1.6.11-r0","1.6.11-r1","1.6.12-r0","1.6.12-r1","1.6.12-r2","1.6.2-r0","1.6.2-r1","1.6.3-r0","1.6.4-r0","1.6.4-r1","1.6.7-r0","1.6.8-r0","1.6.8-r1","1.6.9-r0","2.0.10-r0","2.0.11-r0","2.0.12-r0","2.0.12-r1","2.0.12-r2","2.0.13-r0","2.0.14-r0","2.0.14-r1","2.0.14-r2","2.0.15-r0","2.0.15-r1","2.0.15-r2","2.0.15-r3","2.0.5-r0","2.0.7-r0","2.0.8-r0","2.0.9-r0","2.0.9-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-28366.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}