CVE Catalog

CVE-2025-65953

MediumCVSS 6.0
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

12th percentile - higher than 12% of all known CVEs

Summary

In NanoMQ before version 0.22.5, a heap-use-after-free vulnerability exists in the TCP transport component (src/sp/transport/mqtt/broker_tcp.c), due to improper resource management and premature cleanup of message and pipe structures under specific malformed MQTTV5 retain message traffic conditions.

Risk Assessment

This may lead to service crashes or potentially remote code execution by an attacker sending specially crafted MQTT messages.

Recommendation

Update NanoMQ to version 0.22.5 or later.

Other vulnerabilities in NanoMQ

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS