Eclipse Mosquitto libmosquitto OOB read via malformed SUBACK (1.3.2-2.0.18)
CVE-2024-10525 Published on October 30, 2024
Eclipse Mosquito: Heap Buffer Overflow in my_subscribe_callback
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.
Weakness Type
Heap-based Buffer Overflow
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
Products Associated with CVE-2024-10525
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2024-10525 are published in these products:
Affected Versions
Eclipse Foundation mosquitto:- Version 1.3.2, <= 2.0.18 is affected.
- Version 1.3.2, <= 2.0.18 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.