CVE 6 MEDIUM

NanoMQ UAF of retain message due to invalid MQTTV5 properties_CVE-2025-65953

6 / 10
MEDIUM
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L

Description

NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. Prior to version 0.22.5, a Heap-Use-After-Free (UAF) vulnerability exists in the TCP transport component of NanoMQ, which relies on the underlying NanoNNG library (specifically in src/sp/transport/mqtt/broker_tcp.c). The vulnerability is due to improper resource management and premature cleanup of message and pipe structures under specific malformed MQTTV5 retain message traffic conditions. This issue has been patched in version 0.22.5.

Basic Information

ID CVE-2025-65953
Source GitHub_M
Published Nov 25, 2025 at 23:13

Affected Product

Vendor nanomq
Product nanomq
Version < 0.22.5
Affected Versions nanomq nanomq < 0.22.5

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.