PT-2026-1008 · Nanomq+1 · Nanomq+1
Published
2026-01-01
·
Updated
2026-02-18
·
CVE-2025-66023
CVSS v4.0
6.9
Medium
| Vector | AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H |
Name of the Vulnerable Software and Affected Versions
NanoMQ versions prior to 0.24.5
Description
NanoMQ MQTT Broker, an Edge Messaging Platform, contains a Heap-Use-After-Free (UAF) issue in its MQTT bridge client component, which is implemented using the NanoNNG library. This issue occurs when NanoMQ connects to a remote MQTT broker. A malicious remote broker can trigger a crash (Denial of Service) or potential memory corruption by sending a malformed packet sequence immediately after connection establishment. The vulnerability is addressed by enforcing stricter protocol adherence in the MQTT client SDK, ensuring that a CONNACK packet is always the first packet processed upon connection.
Recommendations
Update to version 0.24.5 or later.
As a workaround, validate the remote broker before bridging.
Exploit
Fix
DoS
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Nanomq
Nanonng