CVE-2024-10525Mosquitto Heap Buffer Overflow
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.
Published Oct 30, 2024 · Updated Nov 30, 2026 · Also known as BELL-CVE-2024-10525, DEBIAN-CVE-2024-10525, DLA-4059-1, EUVD-2024-33469, GHSA-cm54-mprw-5279, JLSEC-2026-1565, OESA-2024-2343, OESA-2024-2344, OESA-2024-2345, OESA-2024-2346, ROOT-OS-ALPINE-318-CVE-2024-10525, ROOT-OS-ALPINE-320-CVE-2024-10525, UBUNTU-CVE-2024-10525, USN-7441-1, openSUSE-SU-2026:20260-1
Key Facts
Patch immediately- CVE-2024-10525 is a high-severity vulnerability (CVSS 7.2 v4) affecting Mosquitto (Eclipse), rootio-mosquitto, mosquitto_client_jll (julia) and 4 more products.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 59% probability of exploitation in the next 30 days.
- Fixed versions are available, including Mosquitto 2.0.19, Mosquitto 0.15-2+deb7u3ubuntu0.1+esm1, Mosquitto 1.4.15-2ubuntu0.18.04.3+esm2.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v4
7.2
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/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
EPSS (30-day exploit likelihood)
59%
Higher than 99.1% of all scored CVEs
Exploit maturity
None known
ATLAS score
31/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
1
Reports of active use
Advisories And Exploit References
- advisoryhttps://docs.bell-sw.com/security/cves/CVE-2024-10525
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2024-10525
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-10525
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2024-10525
- advisoryhttps://ubuntu.com/security/CVE-2024-10525
- advisoryhttps://bugzilla.suse.com/1232635
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.
Affected Products
58 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| MosquittoEclipse | >= 2.0.15-r1, >= 2.0.15-r3, >= 1.3.2 | 2.0.19 |
| rootio-mosquittorootio | See advisory | 2.0.18-r00071 |
| mosquitto_client_jlljulia | See advisory | n/a |
| libmosquitto1suse | See advisory | 2.0.23-bp160.1.1 |
| libmosquittopp1suse | See advisory | 2.0.23-bp160.1.1 |
Patched Releases
Mosquitto
2.0.19, 0.15-2+deb7u3ubuntu0.1+esm1, 1.4.15-2ubuntu0.18.04.3+esm2, 1.4.8-1ubuntu0.16.04.7+esm2, 1.6.9-1ubuntu0.1~esm2, 2.0.11-1.2+deb12u2, 2.0.11-1+deb11u2, 2.0.11-1ubuntu1.2, 2.0.18-1ubuntu0.1~esm1, 2.0.18-r00071, 2.0.18-r00072, 2.0.18-r00073, 2.0.18-r00074, 2.0.18-r00075, 2.0.19-r0, 2.0.20-1, 2.0.20-1.oe2203sp1, 2.0.20-1.oe2203sp3, 2.0.20-1.oe2203sp4, 2.0.20-1.oe2403, 2.0.23-bp160.1.1
libmosquitto1
2.0.23-bp160.1.1
libmosquittopp1
2.0.23-bp160.1.1
mosquitto-clients
2.0.23-bp160.1.1
mosquitto-devel
2.0.23-bp160.1.1
rootio-mosquitto
2.0.18-r00071, 2.0.18-r00072, 2.0.18-r00073, 2.0.18-r00074, 2.0.18-r00075
Timeline
Publicly disclosed
Oct 30, 2024
Last updated
Nov 30, 2026
Weakness Type
- CWE-122 Heap-based Buffer Overflow
- CWE-787 Out-of-bounds Write
References
- advisorydocs.bell-sw.com · CVE-2024-10525
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2024-10525
- advisorysecurity-tracker.debian.org · CVE-2024-10525
- advisoryubuntu.com · CVE-2024-10525
FAQ
Common Questions.
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.
Affected: Mosquitto (Eclipse) versions >= 2.0.15-r1, >= 2.0.15-r3, >= 1.3.2; rootio-mosquitto; mosquitto_client_jll (julia), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Mosquitto 2.0.19, Mosquitto 0.15-2+deb7u3ubuntu0.1+esm1, Mosquitto 1.4.15-2ubuntu0.18.04.3+esm2.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2024-10525 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo