Critical severity · published Oct 30, 2024
CVE-2024-10525
Eclipse Mosquito: Heap Buffer Overflow in my_subscribe_callback
9.8
CVSS
59.2%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)59.2% · higher than 99% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MO
mosquitto · Eclipse Foundation
1.3.2 through 2.0.18 · source: vendor, NVD, CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-10525
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-10525
Patch
https://github.com/eclipse-mosquitto/mosquitto/commit/8ab20b4ba4204fdcdec78cb4d9f03c944a6e0e1c
Exploit
https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/190
Release Notes
https://mosquitto.org/blog/2024/10/version-2-0-19-released/
lists.debian.org
https://lists.debian.org/debian-lts-announce/2025/02/msg00022.html
More from mosquitto
7.5
CVE-2024-8376
In Eclipse Mosquitto up to version 2.0.18a, an attacker can achieve memory leaking, segmentation fault or heap-use-after-free by sending specific sequences of "CONNECT", "DISCONNECT", "SUBSCRIBE", "UN
6.5
CVE-2024-3935
Eclipse Mosquito: Double free vulnerability
