Eclipse Mosquito: Heap Buffer Overflow in my_subscribe_callback
No fixed version listed yet.Check the vendor advisory. References ↓
Eclipse Foundation · mosquitto
In Eclipse Mosquitto, the libmosquitto client library contains a heap buffer overflow in its my_subscribe_callback handling, reached when processing a SUBACK packet; the affected client tools are mosquitto_sub and mosquitto_rr. A malicious broker that sends a crafted SUBACK packet with no reason codes can cause out-of-bounds memory access in a client's on_subscribe callback, and the attack requires the client to connect to that attacker-controlled broker over the network with low privileges, with no user interaction needed.
Official description · CVE.org
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.
- Exploited
- Not confirmed
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Disclosed on 30 Oct 2024. No public exploit code or confirmed exploitation is recorded.
Affected versions and fixes
as published in the CVE recordEclipse Foundation mosquitto
Affected: >= 1.3.2, <= 2.0.18