Skip to main content
CVE-2024-10525VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2024-10525· High 7.2

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

CVSS 4.0 base score
7.2High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (eclipse)CVSS 4.07.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Oct 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu Pro 24.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <2.0.18-1ubuntu0.1~esm1
Fixed in
  • 2.0.18-1ubuntu0.1~esm1
Ubuntu 22.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=jammyOther threatsAffected
  • <2.0.11-1ubuntu1.2
Fixed in
  • 2.0.11-1ubuntu1.2
Ubuntu Pro 20.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=esm-apps/focalOther threatsAffected
  • <1.6.9-1ubuntu0.1~esm2
Fixed in
  • 1.6.9-1ubuntu0.1~esm2
Ubuntu Pro 18.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <1.4.15-2ubuntu0.18.04.3+esm2
Fixed in
  • 1.4.15-2ubuntu0.18.04.3+esm2
Ubuntu Pro 16.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=esm-apps/xenialOther threatsAffected
  • <1.4.8-1ubuntu0.16.04.7+esm2
Fixed in
  • 1.4.8-1ubuntu0.16.04.7+esm2
Ubuntu Pro 14.04 LTSmosquittopkg:deb/ubuntu/mosquitto?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • <0.15-2+deb7u3ubuntu0.1+esm1
  • =0.15-2ubuntu1
  • =0.15-2ubuntu1.1
  • =0.15-2ubuntu1.2
Fixed in
  • 0.15-2+deb7u3ubuntu0.1+esm1

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

Community reviews

Loading reviews…