Use-after-free in NanoMQ - CVE-2025-65953

 

Use-after-free in NanoMQ - CVE-2025-65953

Published: November 28, 2025


Vulnerability identifier: #VU118820
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-65953
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: NanoMQ
Affected software:
NanoMQ

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service attack.

The vulnerability exists due to a use-after-free error within the the TCP transport component of NanoMQ in src/sp/transport/mqtt/broker_tcp.c caused by premature cleanup of message and pipe structures. A remote attacker can send packets with specially crafted MQTTV5 properties to the application and perform a denial of service attack.



How to mitigate CVE-2025-65953

Install updates from vendor's website.

Sources