Out-of-bounds Read Affecting nanomq/NanoNNG package, versions [,0.24.8)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (3rd 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-NANOMQNANONNG-15916590
  • published6 Apr 2026
  • disclosed30 Mar 2026
  • creditgrant-yim

Introduced: 30 Mar 2026

NewCVE-2026-25627  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade nanomq/NanoNNG to version 0.24.8 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read via the MQTT-over-WebSocket transport when processing packets with a large Remaining Length value in the fixed header and a shorter actual payload. An attacker can cause a crash by sending specially crafted MQTT packets that trigger an out-of-bounds read.

CVSS Base Scores

version 4.0
version 3.1