PT-2024-8325
CVE-2024-10525
·
Published
2024-10-30
·
Updated
2026-09-29
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Eclipse Mosquitto versions 1.3.2 through 2.0.18
Description
The issue is related to a buffer overflow in dynamic memory. 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. A remote attacker may exploit this to gain access to confidential information.
Recommendations
For Eclipse Mosquitto versions 1.3.2 through 2.0.18, consider updating to a version that contains a fix for this issue to prevent out of bounds memory access.
As a temporary workaround, consider restricting the use of the on subscribe callback function in libmosquitto until a patch is available.
Avoid using the mosquitto sub and mosquitto rr clients with untrusted brokers until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾