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
| Vector | AV: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
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Debian
Eclipse Mosquitto
Linuxmint
Red Os
Ubuntu