CVE-2024-10525 HIGH

CVE-2024-10525: Eclipse Mosquito: Heap Buffer Overflow in my_subscribe_callback

Vendor Eclipse Foundation
Product mosquitto
Weakness CWE-122
Published October 30, 2024
Last update November 3, 2025

CVSS base score

7.2/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

October 30, 2024 CVE published
November 3, 2025 Record updated