# CVE-2024-10525: Eclipse Mosquito: Heap Buffer Overflow in my\_subscribe\_callback

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 2.0.19 (CNA); fix release not confirmed
- Status: published
- Published: 2024-10-30 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2024-10525, DEBIAN-CVE-2024-10525
- Record: https://cvemate.com/vulnerability/CVE-2024-10525 · JSON: https://cvemate.com/vulnerability/CVE-2024-10525/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 59.222%, percentile 99.136%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian mosquitto (Debian): \< 2.0.11-1.2+deb12u2 \| \< 2.0.20-1
- ubuntu mosquitto (Ubuntu): \< 0.15-2+deb7u3ubuntu0.1+esm1 \| \< 1.4.8-1ubuntu0.16.04.7+esm2 \| \< 1.4.15-2ubuntu0.18.04.3+esm2 \| \< 1.6.9-1ubuntu0.1~esm2 \| \< 2.0.11-1ubuntu1.2 \| \< 2.0.18-1ubuntu0.1~esm1
- eclipse foundation mosquitto: ≥ 1.3.2, ≤ 2.0.18
- eclipse mosquitto: ≥ 1.3.2, \< 2.0.19

## References

- <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/190>
- <https://mosquitto.org/blog/2024/10/version-2-0-19-released/>
- <https://github.com/eclipse-mosquitto/mosquitto/commit/8ab20b4ba4204fdcdec78cb4d9f03c944a6e0e1c>
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00022.html>
- <https://ubuntu.com/security/CVE-2024-10525>
- <https://www.cve.org/CVERecord?id=CVE-2024-10525>
- <https://ubuntu.com/security/notices/USN-7441-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-10525>

---

Data as of 2026-12-05T07:39:33.551Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
