Heap-based Buffer Overflow Affecting emqx/nanomq package, versions [,0.22.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (16th 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-11173056
  • published29 Jul 2025
  • disclosed14 Jul 2025
  • creditUnknown

Introduced: 14 Jul 2025

CVE-2024-42648  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade emqx/nanomq to version 0.22.6 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the processing of a crafted CONNECT message. An attacker can cause the application to crash or become unresponsive by sending specially crafted input that triggers a heap overflow.

References

CVSS Base Scores

version 4.0
version 3.1