In Eclipse Mosquitto, from version 1.3.2 through 2.0.18, if a malicious broker sends a crafted SUBACK packet with no reason codes, a client using libmosquitto may make out of bounds memory access when acting in its on_subscribe callback
Affects mosquittoSource GCVE Database
Not known to be exploited · CVSS 7.2 High · fixed in 0.15-2+deb7u3ubuntu0.1+esm1 : patch mosquitto soon.
Data as of 24 Nov 2026, 19:25 UTC
Thin evidence
One scorer or none| CNA (eclipse) | CVSS 4.0 | 7.2 |
|---|
- Patch
- Available – fixed in 0.15-2+deb7u3ubuntu0.1+esm1, 1.4.8-1ubuntu0.16.04.7+esm2, 1.4.15-2ubuntu0.18.04.3+esm2 +3
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 24.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=esm-apps/xenialOther threats | Affected
| Fixed in
|
Ubuntu Pro 14.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=esm-infra-legacy/trustyOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
In Eclipse Mosquitto, from version 1.3.2 through 2.0.18, if a malicious broker sends a crafted SUBACK packet with no reason codes, a client using libmosquitto may make out of bounds memory access when acting in its on_subscribe callback. This affects the mosquitto_sub and mosquitto_rr clients.
References
- ubuntu.com/security/CVE-2024-10525 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-10525 (opens in a new tab)
- gitlab.eclipse.org/security/vulnerability-reports/-/issues/190 (opens in a new tab)
- mosquitto.org/blog/2024/10/version-2-0-19-released/ (opens in a new tab)
- github.com/eclipse-mosquitto/mosquitto/commit/8ab20b4ba4204fdcdec78cb4d9f03c944a6e0e1c (opens in a new tab)
- ubuntu.com/security/notices/USN-7441-1 (opens in a new tab)