What’s Vulnerable › Vulnerabilities

CVE-2024-10525: Eclipse Mosquito: Heap Buffer Overflow in my_subscribe_callback

Description

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.

Affected products

How to fix

Upgrade to a fixed version: The Eclipse Foundation Eclipse Mosquitto 2.0.19. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-10525 or the next vulnerability affects your stack