Description
In Eclipse Mosquitto 1.4.14, a user can shutdown the Mosquitto server simply by filling the RAM memory with a lot of connections with large payload. This can be done without authentications if occur in connection phase of MQTT protocol.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The Eclipse Foundation | Eclipse Mosquitto | 1.4.14 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mosquitto | 1.4.15-1 | — |
| Debian 13 | mosquitto | 1.4.15-1 | — |
| Debian 12 | mosquitto | 1.4.15-1 | — |
| Debian 9 | mosquitto | 1.4.10-3+deb9u2 | DSA-4325-1 |
| Debian 8 | mosquitto | 1.3.4-2+deb8u2 | DLA-1409-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | mosquitto | 0.15-2+deb7u3 | DLA-1334-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | mosquitto | 1.4.8-1ubuntu0.16.04.3 | — |
| Ubuntu 14.04 LTS | mosquitto | 0.15-2+deb7u3ubuntu0.1 | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.23 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.22 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.21 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.20 | mosquitto | 1.4.15-r0 | — |
Show 15 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.18 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.17 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.16 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.15 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.14 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.13 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.12 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.11 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.10 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.9 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.8 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.7 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.6 | mosquitto | 1.4.15-r0 | — |
| Alpine v3.5 | mosquitto | 1.4.15-r0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
St3v3nsS/CVE-2017-7651 ★ 1 · Feb 21, 2022
This is the repository used for CVE-2017-7651 for exploiting mosquitto 1.4.14
-
mukkul007/MqttAttack ★ 0 · Sep 24, 2021
PoC for CVE-2017-7651
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 3
- DSA-4325-1 mosquitto - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1409-1 mosquitto - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1334-1 mosquitto - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- [debian-lts-announce] 20180331 [SECURITY] [DLA 1334-1] mosquitto security update mailing-list
- https://mosquitto.org/blog/2018/02/security-advisory-cve-2017-7651-cve-2017-7652/
- [debian-lts-announce] 20180629 [SECURITY] [DLA 1409-1] mosquitto security update mailing-list
- DSA-4325 vendor-advisory
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=529754