SB20260424162 - Multiple vulnerabilities in NanoMQ



SB20260424162 - Multiple vulnerabilities in NanoMQ

Published: April 24, 2026

Security Bulletin ID SB20260424162
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 50% Low 50%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 vulnerabilities.


1) Buffer overflow (CVE-ID: CVE-2025-59947)

CWE-ID: CWE-120 - Buffer overflow

CVSSv4: 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


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.


2) Use-after-free (CVE-ID: CVE-2025-59946)

CWE-ID: CWE-416 - Use After Free

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear


The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to use-after-free in the sub info list when processing concurrent subscribe and unsubscribe operations. A remote user can trigger a race condition to execute arbitrary code.

Exploitation requires hitting a specific overlapping race window.


Remediation

Install update from vendor's website.