Patchfirst
CVE-2024-10525 High · 7.2 EPSS 59.2%

Eclipse Mosquito: Heap Buffer Overflow in my_subscribe_callback

No fixed version listed yet.Check the vendor advisory. References ↓

Eclipse Foundation · mosquitto

Summary

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.

Breakdown
24.9 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 30 Oct 2024. No public exploit code or confirmed exploitation is recorded.

Affected versions and fixes

as published in the CVE record

Eclipse Foundation mosquitto

Affected: >= 1.3.2, <= 2.0.18

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close