Buffer overflow in Emqx Nanomq
CVE-2025-59947
NanoMQ is a messaging broker/bus for IoT Edge & SDV. Versions prior to 0.24.4 have a buffer overflow case while the PUBLISH packets trigger both shared subscription and vanila subscription. This is fixed in version 0.24.4. As a workaround, disable shared subscription.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 29.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Emqx Nanomq
- Nanomq — versions < 0.24.4
Weakness classification (CWE)
References
- https://github.com/nanomq/nanomq/security/advisories/GHSA-98f4-cmg8-x7f3 (Vendor Advisory)
- https://github.com/nanomq/nanomq/issues/2110 (Patch, Issue Tracking)
- https://github.com/nanomq/nanomq/commit/5f5581054bb92f102cf99251e8af2f43763d457b (Patch)