Out-of-bounds Read Affecting emqx/nanomq package, versions [,0.24.10-beta.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.36% (30th 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 Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-EMQXNANOMQ-15924842
  • published7 Apr 2026
  • disclosed2 Apr 2026
  • creditgrant-yim

Introduced: 2 Apr 2026

CVE-2026-34608  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade emqx/nanomq to version 0.24.10-beta.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read in the hook_work_cb() function when parsing message bodies with cJSON_Parse. An attacker can cause a denial of service by sending a specially crafted JSON payload with a length that is a power-of-two greater than or equal to 1024, resulting in an out-of-bounds read of heap memory.

CVSS Base Scores

version 4.0
version 3.1