CVE-2024-10525
JSON

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 packageVersionsReported by
mosquittofrom 1.3.2 up to 2.0.18CVE List
eclipse_foundation mosquittofrom 1.3.2 up to 2.0.18CVE List
eclipse mosquittofrom 1.3.2 before 2.0.19NVD

All scores

eclipse7.2high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-122CWE-787

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2024-10525 changed 2025-11-03CVE Terms of Use
NVDCVE-2024-10525 changed 2026-06-17Public domain