7.2high
Eclipse Mosquito: Heap Buffer Overflow in my_subscribe_callback
- Severity
- 7.2high CVSS:4.0 by eclipse
- Exploit likelihood
- 59.2% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- eclipse
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
| Product or package | Versions | Reported by |
|---|---|---|
| mosquitto | from 1.3.2 up to 2.0.18 | CVE List |
| eclipse_foundation mosquitto | from 1.3.2 up to 2.0.18 | CVE List |
| eclipse mosquitto | from 1.3.2 before 2.0.19 | NVD |
All scores
| eclipse | 7.2high CVSS:4.0 | 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 |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
En Eclipse Mosquitto, desde la versión 1.3.2 hasta la 2.0.18, si un agente malintencionado envía un paquete SUBACK manipulado sin códigos de motivo, un cliente que utilice libmosquitto puede realizar un acceso a la memoria fuera de los límites cuando actúe en su devolución de llamada on_subscribe. Esto afecta a los clientes mosquitto_sub y mosquitto_rr.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-10525 changed 2025-11-03 | CVE Terms of Use |
| NVD | CVE-2024-10525 changed 2026-06-17 | Public domain |