Buffer Overflow Affecting emqx/nanomq package, versions [,0.24.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-EMQXNANOMQ-14426290
  • published16 Dec 2025
  • disclosed15 Dec 2025
  • creditRoman Kraus

Introduced: 15 Dec 2025

CVE-2025-59947  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade emqx/nanomq to version 0.24.3 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow via the process that handles PUBLISH packets triggering both shared and vanilla subscriptions. An attacker can execute arbitrary code or cause a crash by sending specially crafted packets.

##Workaround

This issue can be mitigated by disabling shared subscription.

CVSS Base Scores

version 4.0
version 3.1