Buffer overflow in NanoMQ - CVE-2025-59947

 

Buffer overflow in NanoMQ - CVE-2025-59947

Published: April 24, 2026


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

Detailed vulnerability description

The vulnerability allows a remote user to cause a denial of service and modify data.

The vulnerability exists due to a buffer overflow in PUBLISH packet handling when triggering both shared subscription and vanilla subscription. A remote user can send a specially crafted PUBLISH packet to cause a denial of service and modify data.

User interaction is required.


How to mitigate CVE-2025-59947

Install security update from vendor's website.

Sources