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


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.5% (43rd 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 Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-EMQXNANOMQ-16191776
  • published24 Apr 2026
  • disclosed20 Apr 2026
  • creditFatih Çelik

Introduced: 20 Apr 2026

CVE-2026-32135  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade emqx/nanomq to version 0.24.11 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the uri_param_parse() function in REST API. An attacker can cause a heap buffer overflow by sending a crafted HTTP request that exploits an off-by-one error in memory allocation for query parameter keys and values, allowing a null byte to be written beyond the allocated buffer.

CVSS Base Scores

version 4.0
version 3.1