Eclipse Mosquito: Heap Buffer Overflow in my_subscribe_callback
CVE-2024-10525Published 30 Oct 2024, 11:41 UTC
Real-world risk
3.8/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.2
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from eclipse)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Eclipse MosquittoNiche | >= 1.3.2, <= 2.0.18 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T2: Likely to be exploited (× 0.90)
EPSS probability at least 0.10, or EPSS percentile at least 0.95
EPSS 59.2% chance of exploitation in 30 days (percentile 99), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T2: Likely to be exploited0.900
- 10 × impact 0.7 × prerequisites 0.6 × threat 0.93.780
- Rounded to one decimal between 0.1 and 103.8
Exploitation and evidence timeline
- 30 Oct 2024 Published
- 3 Dec 2026 Risk 3.8 (cvss fallback)
Weakness
CWE-122
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
- CVE-2024-10525 on CVE.org