CVE-2024-10525: eclipse foundation mosquitto Heap-based Buffer Overflow
Vulnerability summary
CVE-2024-10525 is a critical (CVSS 9.8) Heap-based Buffer Overflow vulnerability in eclipse foundation mosquitto. EPSS estimates a 59.22% chance of exploitation in the next 30 days, higher than 99.1% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 3 · Related 2Timeline
- 30-10-2024PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.2HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
- NVDNIST7.2HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
59.22%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
-0.27 pp
From 59.49% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (gitlab.eclipse.org)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Debian1 product
- mosquitto< 2.0.11-1.2+deb12u2 | < 2.0.20-1
Eclipse1 product
- mosquitto≥ 1.3.2, < 2.0.19
Eclipse foundation1 product
- mosquitto≥ 1.3.2, ≤ 2.0.18
Ubuntu1 product
- mosquitto< 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
4 vendors · 4 products
References
8 links- gitlab.eclipse.org/security/vulnerability-reports/-/issues/190REPORTExploitIssue TrackingVendor Advisory