---
id: CVE-2025-59946
title: NanoMQ MQTT Broker (NanoMQ) is an Edge Messaging Platform
summary: >-
  NanoMQ MQTT Broker (NanoMQ) is an Edge Messaging Platform. Prior to version
  0.24.2, there is a classical data racing issue about sub info list which could
  result in heap use after free crash. This issue has been patched in version
  0.24.2.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-416
vendor: emqx
product: nanomq
affected:
  - nanomq < 0.24.4
patched:
  - nanomq 0.24.4
published: '2025-12-27'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T09:10:00.323'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-59946'
references:
  - url: 'https://github.com/nanomq/nanomq/issues/1863'
    label: security-advisories@github.com
  - url: 'https://github.com/nanomq/nanomq/security/advisories/GHSA-xg37-23w7-72p5'
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00376
epssPercentile: 0.29634
ingestedAt: '2026-10-13T09:20:23.159Z'
---

## Overview

NanoMQ MQTT Broker (NanoMQ) is an Edge Messaging Platform. Prior to version 0.24.2, there is a classical data racing issue about sub info list which could result in heap use after free crash. This issue has been patched in version 0.24.2.

## Affected

- `nanomq < 0.24.4`

## Remediation

Upgrade past the affected range:

- `nanomq 0.24.4`
