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: 7 [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]
CVE-ID: CVE-2025-59947
CWE-ID: CWE-120
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

NanoMQ

How to mitigate CVE-2025-59947

Install security update from vendor's website.

NanoMQ - update to 0.24.4

External References

Related Security Bulletins