PT-2024-8325 · Eclipse+5 · Eclipse Mosquitto+5

Qingpeng Du

·

Published

2024-10-30

·

Updated

2026-03-29

·

CVE-2024-10525

CVSS v3.1

9.8

Critical

VectorAV: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.

Fix

Memory Corruption

Heap Based Buffer Overflow

Weakness Enumeration

Related Identifiers

ALT-PU-2025-3746
BDU:2024-09881
CVE-2024-10525
DLA-4059-1
OESA-2024-2343
OESA-2024-2344
OESA-2024-2345
OESA-2024-2346
OPENSUSE-SU-2026:20260-1
USN-7441-1

Affected Products

Alt Linux
Debian
Eclipse Mosquitto
Linuxmint
Red Os
Ubuntu