NULL Pointer Dereference Affecting nanomq/NanoNNG package, versions [0,0.25.6)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (20th 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 NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-NANOMQNANONNG-18189936
  • published22 Jul 2026
  • disclosed20 Jul 2026
  • creditUnknown

Introduced: 20 Jul 2026

CVE-2026-47275  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade nanomq/NanoNNG to version 0.25.6 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference in the nni_mqttv5_msg_decode_connect function. An attacker can cause the client process to crash by sending a specially crafted MQTT CONNECT packet from a malicious broker, which triggers a NULL pointer dereference and results in a segmentation fault. This can lead to persistent denial of service if auto-reconnect is enabled, causing an infinite crash loop.

CVSS Base Scores

version 4.0
version 3.1