PT-2026-1008 · Nanomq+1 · Nanomq+1

Published

2026-01-01

·

Updated

2026-02-18

·

CVE-2025-66023

CVSS v4.0

6.9

Medium

VectorAV: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

Weakness Enumeration

Related Identifiers

CVE-2025-66023
GHSA-24F7-Q5HH-27HF

Affected Products

Nanomq
Nanonng